Changeset 48115 for trunk/src/wp-login.php
- Timestamp:
- 06/21/2020 01:58:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r48085 r48115 359 359 360 360 if ( empty( $_POST['user_login'] ) || ! is_string( $_POST['user_login'] ) ) { 361 $errors->add( 'empty_username', __( ' Please enter a username or email address.' ) );361 $errors->add( 'empty_username', __( '<strong>Error</strong>: 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', __( ' There is no account with that username or email address.' ) );365 $errors->add( 'invalid_email', __( '<strong>Error</strong>: There is no account with that username or email address.' ) ); 366 366 } 367 367 } else { … … 405 405 406 406 if ( ! $user_data ) { 407 $errors->add( 'invalidcombo', __( ' There is no account with that username or email address.' ) );407 $errors->add( 'invalidcombo', __( '<strong>Error</strong>: There is no account with that username or email address.' ) ); 408 408 return $errors; 409 409 } … … 472 472 sprintf( 473 473 /* translators: %s: Documentation URL. */ 474 __( ' 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>.' ),474 __( '<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>.' ), 475 475 esc_url( __( 'https://wordpress.org/support/article/resetting-your-password/' ) ) 476 476 ) … … 1215 1215 sprintf( 1216 1216 /* translators: 1: Browser cookie documentation URL, 2: Support forums URL. */ 1217 __( ' 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>.' ),1217 __( '<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>.' ), 1218 1218 __( 'https://wordpress.org/support/article/cookies/' ), 1219 1219 __( 'https://wordpress.org/support/forums/' ) … … 1226 1226 sprintf( 1227 1227 /* translators: %s: Browser cookie documentation URL. */ 1228 __( ' Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ),1228 __( '<strong>Error</strong>: Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ), 1229 1229 __( 'https://wordpress.org/support/article/cookies/#enable-cookies-in-your-browser' ) 1230 1230 )
Note: See TracChangeset
for help on using the changeset viewer.