Action oriented text for expired session notice. Props lloydbudd. fixes #6193
git-svn-id: https://develop.svn.wordpress.org/trunk@7268 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ed35e2a826
commit
d8a4c4f178
|
@ -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