Make WordPress Core


Ignore:
Timestamp:
08/28/2015 03:16:02 AM (11 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-admin/includes/schema.php

    r33729 r33774  
    896896        $site_user = get_user_by( 'email', $email );
    897897        if ( ! is_email( $email ) )
    898                 $errors->add( 'invalid_email', __( 'You must provide a valid e-mail address.' ) );
     898                $errors->add( 'invalid_email', __( 'You must provide a valid email address.' ) );
    899899
    900900        if ( $errors->get_error_code() )
Note: See TracChangeset for help on using the changeset viewer.