Ticket #43037: 43037.2.diff
File 43037.2.diff, 832 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/user.php
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 __( 'Unknown username. Check again or try your email address.' ) 156 153 ); 157 154 } 158 155 … … 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 __( 'Unknown email address. Check again or try your username.' ) 237 231 ); 238 232 } 239 233