Changeset 52978 for trunk/src/wp-admin/includes/user.php
- Timestamp:
- 03/22/2022 04:23:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r52285 r52978 175 175 // Checking the password has been typed twice the same. 176 176 if ( ( $update || ! empty( $pass1 ) ) && $pass1 != $pass2 ) { 177 $errors->add( 'pass', __( '<strong>Error</strong>: Passwords do n’t match. Please enter the same password in both password fields.' ), array( 'form-field' => 'pass1' ) );177 $errors->add( 'pass', __( '<strong>Error</strong>: Passwords do not match. Please enter the same password in both password fields.' ), array( 'form-field' => 'pass1' ) ); 178 178 } 179 179 … … 201 201 $errors->add( 'empty_email', __( '<strong>Error</strong>: Please enter an email address.' ), array( 'form-field' => 'email' ) ); 202 202 } elseif ( ! is_email( $user->user_email ) ) { 203 $errors->add( 'invalid_email', __( '<strong>Error</strong>: The email address is n’t correct.' ), array( 'form-field' => 'email' ) );203 $errors->add( 'invalid_email', __( '<strong>Error</strong>: The email address is not correct.' ), array( 'form-field' => 'email' ) ); 204 204 } else { 205 205 $owner_id = email_exists( $user->user_email );
Note: See TracChangeset
for help on using the changeset viewer.