diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php
index 69b8c35208..6e8ad04759 100644
a
|
b
|
function wp_authenticate_username_password( $user, $username, $password ) { |
149 | 149 | if ( ! $user ) { |
150 | 150 | return new WP_Error( |
151 | 151 | 'invalid_username', |
152 | | __( '<strong>ERROR</strong>: Invalid username.' ) . |
153 | | ' <a href="' . wp_lostpassword_url() . '">' . |
154 | | __( 'Lost your password?' ) . |
155 | | '</a>' |
| 152 | __( '<strong>ERROR</strong>: Invalid username. Try again, you can also use your email address.' ) |
156 | 153 | ); |
157 | 154 | } |
158 | 155 | |
… |
… |
function wp_authenticate_email_password( $user, $email, $password ) { |
230 | 227 | if ( ! $user ) { |
231 | 228 | return new WP_Error( |
232 | 229 | 'invalid_email', |
233 | | __( '<strong>ERROR</strong>: Invalid email address.' ) . |
234 | | ' <a href="' . wp_lostpassword_url() . '">' . |
235 | | __( 'Lost your password?' ) . |
236 | | '</a>' |
| 230 | __( '<strong>ERROR</strong>: Invalid email address. Try again, you can also use your username.' ) |
237 | 231 | ); |
238 | 232 | } |
239 | 233 | |