mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Text Changes: Improve consistency of admin error notices.
This changeset replaces `<strong>Error</strong>:` with `<strong>Error:</strong>`, for better consistency. Props transl8or, mihaidumitrascu, audrasjb. Fixes #50785. git-svn-id: https://develop.svn.wordpress.org/trunk@53458 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -622,7 +622,7 @@ if ( ! function_exists( 'wp_authenticate' ) ) :
|
||||
if ( null == $user ) {
|
||||
// TODO: What should the error message be? (Or would these even happen?)
|
||||
// Only needed if all authentication handlers fail to return anything.
|
||||
$user = new WP_Error( 'authentication_failed', __( '<strong>Error</strong>: Invalid username, email address or incorrect password.' ) );
|
||||
$user = new WP_Error( 'authentication_failed', __( '<strong>Error:</strong> Invalid username, email address or incorrect password.' ) );
|
||||
}
|
||||
|
||||
$ignore_codes = array( 'empty_username', 'empty_password' );
|
||||
|
||||
Reference in New Issue
Block a user