Changeset 44489
- Timestamp:
- 01/09/2019 02:05:08 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r44396 r44489 335 335 $user_data = get_user_by( 'email', trim( wp_unslash( $_POST['user_login'] ) ) ); 336 336 if ( empty( $user_data ) ) { 337 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: There is no user registered with thatemail address.' ) );337 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: There is no account with that username or email address.' ) ); 338 338 } 339 339 } else { … … 358 358 359 359 if ( ! $user_data ) { 360 $errors->add( 'invalidcombo', __( '<strong>ERROR</strong>: Invalid username or email.' ) );360 $errors->add( 'invalidcombo', __( '<strong>ERROR</strong>: There is no account with that username or email address.' ) ); 361 361 return $errors; 362 362 }
Note: See TracChangeset
for help on using the changeset viewer.