mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Administration: Improve the message displayed in the login form modal when a user's session has expired.
Props obrienlabs. Fixes #34340. Built from https://develop.svn.wordpress.org/trunk@35865 git-svn-id: http://core.svn.wordpress.org/trunk@35829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0fcf24a38e
commit
b3d28ad0b9
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-35864';
|
||||
$wp_version = '4.5-alpha-35865';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -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
Block a user