Make WordPress Core

Ticket #26156: user-edit.email.diff

File user-edit.email.diff, 1.3 KB (added by morganestes, 11 years ago)

wp-admin/user-edit.php

  • wp-admin/user-edit.php

     
    332332
    333333<table class="form-table">
    334334<tr>
    335         <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
     335        <th><label for="email"><?php _e('Email'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
    336336        <td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
    337337        <?php
    338338        $new_email = get_option( $current_user->ID . '_new_email' );
    339339        if ( $new_email && $new_email['newemail'] != $current_user->user_email && $profileuser->ID == $current_user->ID ) : ?>
    340340        <div class="updated inline">
    341         <p><?php printf( __('There is a pending change of your e-mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), $new_email['newemail'], esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?></p>
     341        <p><?php printf( __('There is a pending change of your email to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), $new_email['newemail'], esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?></p>
    342342        </div>
    343343        <?php endif; ?>
    344344        </td>