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:
ryan 2008-03-12 22:21:14 +00:00
parent 4acb6b2a63
commit f89ff6c5a0
1 changed files with 1 additions and 1 deletions

View File

@ -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();