Make WordPress Core


Ignore:
Timestamp:
08/28/2015 03:16:02 AM (9 years ago)
Author:
helen
Message:

Drop the hyphen from e-mail and standardize on email.

The AP Stylebook changed this in 2011, and we're woefully inconsistent, so let's go with the standard.

props morganestes, voldemortensen, niallkennedy (for patching on the previous AP style).
fixes #26156.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user-functions.php

    r33771 r33774  
    19511951    }
    19521952
    1953     // Check the e-mail address
     1953    // Check the email address
    19541954    if ( $user_email == '' ) {
    1955         $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your e-mail address.' ) );
     1955        $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your email address.' ) );
    19561956    } elseif ( ! is_email( $user_email ) ) {
    19571957        $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn&#8217;t correct.' ) );
Note: See TracChangeset for help on using the changeset viewer.