diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 69b8c35208..505048e57a 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -149,10 +149,7 @@ function wp_authenticate_username_password( $user, $username, $password ) { if ( ! $user ) { return new WP_Error( 'invalid_username', - __( 'ERROR: Invalid username.' ) . - ' ' . - __( 'Lost your password?' ) . - '' + __( 'Unknown username. Check again or try your email address.' ) ); } @@ -230,10 +227,7 @@ function wp_authenticate_email_password( $user, $email, $password ) { if ( ! $user ) { return new WP_Error( 'invalid_email', - __( 'ERROR: Invalid email address.' ) . - ' ' . - __( 'Lost your password?' ) . - '' + __( 'Unknown email address. Check again or try your username.' ) ); }