Make WordPress Core


Ignore:
Timestamp:
08/28/2015 03:16:02 AM (10 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/user-edit.php

    r33450 r33774  
    397397<table class="form-table">
    398398<tr class="user-email-wrap">
    399     <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
     399    <th><label for="email"><?php _e('Email'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
    400400    <td><input type="email" name="email" id="email" value="<?php echo esc_attr( $profileuser->user_email ) ?>" class="regular-text ltr" />
    401401    <?php
     
    405405    <p><?php
    406406        printf(
    407             __( 'There is a pending change of your e-mail to %1$s. <a href="%2$s">Cancel</a>' ),
     407            __( 'There is a pending change of your email to %1$s. <a href="%2$s">Cancel</a>' ),
    408408            '<code>' . $new_email['newemail'] . '</code>',
    409409            esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) )
Note: See TracChangeset for help on using the changeset viewer.