Changeset 53458 for trunk/src/wp-login.php
- Timestamp:
- 06/02/2022 03:03:39 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r53455 r53458 791 791 if ( isset( $_GET['error'] ) ) { 792 792 if ( 'invalidkey' === $_GET['error'] ) { 793 $errors->add( 'invalidkey', __( '<strong>Error </strong>:Your password reset link appears to be invalid. Please request a new link below.' ) );793 $errors->add( 'invalidkey', __( '<strong>Error:</strong> Your password reset link appears to be invalid. Please request a new link below.' ) ); 794 794 } elseif ( 'expiredkey' === $_GET['error'] ) { 795 $errors->add( 'expiredkey', __( '<strong>Error </strong>:Your password reset link has expired. Please request a new link below.' ) );795 $errors->add( 'expiredkey', __( '<strong>Error:</strong> Your password reset link has expired. Please request a new link below.' ) ); 796 796 } 797 797 } … … 919 919 // Check if password fields do not match. 920 920 if ( ! empty( $_POST['pass1'] ) && trim( $_POST['pass2'] ) !== $_POST['pass1'] ) { 921 $errors->add( 'password_reset_mismatch', __( '<strong>Error </strong>:The passwords do not match.' ) );921 $errors->add( 'password_reset_mismatch', __( '<strong>Error:</strong> The passwords do not match.' ) ); 922 922 } 923 923 … … 1227 1227 sprintf( 1228 1228 /* translators: 1: Browser cookie documentation URL, 2: Support forums URL. */ 1229 __( '<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>.' ),1229 __( '<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>.' ), 1230 1230 __( 'https://wordpress.org/support/article/cookies/' ), 1231 1231 __( 'https://wordpress.org/support/forums/' ) … … 1238 1238 sprintf( 1239 1239 /* translators: %s: Browser cookie documentation URL. */ 1240 __( '<strong>Error </strong>:Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ),1240 __( '<strong>Error:</strong> Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ), 1241 1241 __( 'https://wordpress.org/support/article/cookies/#enable-cookies-in-your-browser' ) 1242 1242 ) … … 1342 1342 $errors->add( 'loggedout', __( 'You are now logged out.' ), 'message' ); 1343 1343 } elseif ( isset( $_GET['registration'] ) && 'disabled' === $_GET['registration'] ) { 1344 $errors->add( 'registerdisabled', __( '<strong>Error </strong>:User registration is currently not allowed.' ) );1344 $errors->add( 'registerdisabled', __( '<strong>Error:</strong> User registration is currently not allowed.' ) ); 1345 1345 } elseif ( strpos( $redirect_to, 'about.php?updated' ) ) { 1346 1346 $errors->add( 'updated', __( '<strong>You have successfully updated WordPress!</strong> Please log back in to see what’s new.' ), 'message' );
Note: See TracChangeset
for help on using the changeset viewer.