Administration: Improve the message displayed in the login form modal when a user's session has expired.
Props obrienlabs. Fixes #34340. git-svn-id: https://develop.svn.wordpress.org/trunk@35865 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
640599e8f5
commit
fb5997f206
|
@ -834,7 +834,7 @@ default:
|
|||
|
||||
if ( $interim_login ) {
|
||||
if ( ! $errors->get_error_code() )
|
||||
$errors->add('expired', __('Session expired. Please log in again. You will not move away from this page.'), 'message');
|
||||
$errors->add( 'expired', __( 'Your session has expired. Please log in to continue where you left off.' ), 'message' );
|
||||
} else {
|
||||
// Some parts of this script use the main login form to display a message
|
||||
if ( isset($_GET['loggedout']) && true == $_GET['loggedout'] )
|
||||
|
|
Loading…
Reference in New Issue