Action oriented text for expired session notice. Props lloydbudd. fixes #6193
git-svn-id: http://svn.automattic.com/wordpress/trunk@7268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4acb6b2a63
commit
f89ff6c5a0
|
@ -26,7 +26,7 @@ function wp_signon( $credentials = '' ) {
|
|||
return new WP_User($user);
|
||||
|
||||
if ( !empty($_COOKIE[AUTH_COOKIE]) )
|
||||
return new WP_Error('expired_session', __('Your session has expired.'));
|
||||
return new WP_Error('expired_session', __('Please log in again.'));
|
||||
|
||||
// If the cookie is not set, be silent.
|
||||
return new WP_Error();
|
||||
|
|
Loading…
Reference in New Issue