Make WordPress Core

Ticket #26156: user-email.diff

File user-email.diff, 799 bytes (added by morganestes, 11 years ago)
  • wp-includes/user.php

     
    16741697                $errors->add( 'username_exists', __( '<strong>ERROR</strong>: This username is already registered. Please choose another one.' ) );
    16751698        }
    16761699
    1677         // Check the e-mail address
     1700        // Check the email address
    16781701        if ( $user_email == '' ) {
    1679                 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your e-mail address.' ) );
     1702                $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your email address.' ) );
    16801703        } elseif ( ! is_email( $user_email ) ) {
    16811704                $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn&#8217;t correct.' ) );
    16821705                $user_email = '';