Changeset 50611
- Timestamp:
- 03/28/2021 10:22:10 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r50541 r50611 725 725 if ( isset( $_GET['error'] ) ) { 726 726 if ( 'invalidkey' === $_GET['error'] ) { 727 $errors->add( 'invalidkey', __( ' Your password reset link appears to be invalid. Please request a new link below.' ) );727 $errors->add( 'invalidkey', __( '<strong>Error</strong>: Your password reset link appears to be invalid. Please request a new link below.' ) ); 728 728 } elseif ( 'expiredkey' === $_GET['error'] ) { 729 $errors->add( 'expiredkey', __( ' Your password reset link has expired. Please request a new link below.' ) );729 $errors->add( 'expiredkey', __( '<strong>Error</strong>: Your password reset link has expired. Please request a new link below.' ) ); 730 730 } 731 731 } … … 843 843 844 844 if ( isset( $_POST['pass1'] ) && $_POST['pass1'] !== $_POST['pass2'] ) { 845 $errors->add( 'password_reset_mismatch', __( ' The passwords do not match.' ) );845 $errors->add( 'password_reset_mismatch', __( '<strong>Error</strong>: The passwords do not match.' ) ); 846 846 } 847 847 … … 1261 1261 $errors->add( 'loggedout', __( 'You are now logged out.' ), 'message' ); 1262 1262 } elseif ( isset( $_GET['registration'] ) && 'disabled' === $_GET['registration'] ) { 1263 $errors->add( 'registerdisabled', __( ' User registration is currently not allowed.' ) );1263 $errors->add( 'registerdisabled', __( '<strong>Error</strong>: User registration is currently not allowed.' ) ); 1264 1264 } elseif ( strpos( $redirect_to, 'about.php?updated' ) ) { 1265 1265 $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.