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/options-general.php

    r33329 r33774  
    136136</tr>
    137137<tr>
    138 <th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
     138<th scope="row"><label for="admin_email"><?php _e('Email Address') ?> </label></th>
    139139<td><input name="admin_email" type="email" id="admin_email" aria-describedby="admin-email-description" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" />
    140140<p class="description" id="admin-email-description"><?php _e( 'This address is used for admin purposes, like new user notification.' ) ?></p></td>
     
    155155<?php } else { ?>
    156156<tr>
    157 <th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
     157<th scope="row"><label for="new_admin_email"><?php _e('Email Address') ?> </label></th>
    158158<td><input name="new_admin_email" type="email" id="new_admin_email" aria-describedby="new-admin-email-description" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" />
    159 <p class="description" id="new-admin-email-description"><?php _e( 'This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ) ?></p>
     159<p class="description" id="new-admin-email-description"><?php _e( 'This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ) ?></p>
    160160<?php
    161161$new_admin_email = get_option( 'new_admin_email' );
    162162if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?>
    163163<div class="updated inline">
    164 <p><?php printf( __('There is a pending change of the admin e-mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), esc_html( $new_admin_email ), esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?></p>
     164<p><?php printf( __('There is a pending change of the admin email to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), esc_html( $new_admin_email ), esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?></p>
    165165</div>
    166166<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.