Changeset 48059 for trunk/src/wp-login.php
- Timestamp:
- 06/16/2020 03:33:37 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-login.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r47855 r48059 359 359 360 360 if ( empty( $_POST['user_login'] ) || ! is_string( $_POST['user_login'] ) ) { 361 $errors->add( 'empty_username', __( ' <strong>Error</strong>: Enter a username or email address.' ) );361 $errors->add( 'empty_username', __( 'Please enter a username or email address.' ) ); 362 362 } elseif ( strpos( $_POST['user_login'], '@' ) ) { 363 363 $user_data = get_user_by( 'email', trim( wp_unslash( $_POST['user_login'] ) ) ); 364 364 if ( empty( $user_data ) ) { 365 $errors->add( 'invalid_email', __( ' <strong>Error</strong>:There is no account with that username or email address.' ) );365 $errors->add( 'invalid_email', __( 'There is no account with that username or email address.' ) ); 366 366 } 367 367 } else { … … 388 388 389 389 if ( ! $user_data ) { 390 $errors->add( 'invalidcombo', __( ' <strong>Error</strong>:There is no account with that username or email address.' ) );390 $errors->add( 'invalidcombo', __( 'There is no account with that username or email address.' ) ); 391 391 return $errors; 392 392 } … … 455 455 sprintf( 456 456 /* translators: %s: Documentation URL. */ 457 __( ' <strong>Error</strong>:The email could not be sent. Your site may not be correctly configured to send emails. <a href="%s">Get support for resetting your password</a>.' ),457 __( 'The email could not be sent. Your site may not be correctly configured to send emails. <a href="%s">Get support for resetting your password</a>.' ), 458 458 esc_url( __( 'https://wordpress.org/support/article/resetting-your-password/' ) ) 459 459 ) … … 1198 1198 sprintf( 1199 1199 /* translators: 1: Browser cookie documentation URL, 2: Support forums URL. */ 1200 __( ' <strong>Error</strong>:Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ),1200 __( 'Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ), 1201 1201 __( 'https://wordpress.org/support/article/cookies/' ), 1202 1202 __( 'https://wordpress.org/support/forums/' ) … … 1209 1209 sprintf( 1210 1210 /* translators: %s: Browser cookie documentation URL. */ 1211 __( ' <strong>Error</strong>:Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ),1211 __( 'Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ), 1212 1212 __( 'https://wordpress.org/support/article/cookies/#enable-cookies-in-your-browser' ) 1213 1213 )
Note: See TracChangeset
for help on using the changeset viewer.