Changeset 33774 for trunk/src/wp-admin/includes/user.php
- Timestamp:
- 08/28/2015 03:16:02 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r33769 r33774 150 150 $errors->add( 'user_login', __( '<strong>ERROR</strong>: This username is already registered. Please choose another one.' )); 151 151 152 /* checking e -mail address */152 /* checking email address */ 153 153 if ( empty( $user->user_email ) ) { 154 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an e -mail address.' ), array( 'form-field' => 'email' ) );154 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an email address.' ), array( 'form-field' => 'email' ) ); 155 155 } elseif ( !is_email( $user->user_email ) ) { 156 156 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn’t correct.' ), array( 'form-field' => 'email' ) );
Note: See TracChangeset
for help on using the changeset viewer.