Make WordPress Core

Ticket #26156: options-general.email.diff

File options-general.email.diff, 2.4 KB (added by morganestes, 11 years ago)

wp-admin/options-general.php

  • wp-admin/options-general.php

     
    111111<p class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></p></td>
    112112</tr>
    113113<tr valign="top">
    114 <th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
     114<th scope="row"><label for="admin_email"><?php _e('Email Address') ?> </label></th>
    115115<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
    116116<p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td>
    117117</tr>
     
    130130</tr>
    131131<?php } else { ?>
    132132<tr valign="top">
    133 <th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
     133<th scope="row"><label for="new_admin_email"><?php _e('Email Address') ?> </label></th>
    134134<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
    135 <p class="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>
     135<p class="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>
    136136<?php
    137137$new_admin_email = get_option( 'new_admin_email' );
    138138if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?>
    139139<div class="updated inline">
    140 <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>
     140<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>
    141141</div>
    142142<?php endif; ?>
    143143</td>