Ticket #26156: user-edit.email.diff
File user-edit.email.diff, 1.3 KB (added by , 11 years ago) |
---|
-
wp-admin/user-edit.php
332 332 333 333 <table class="form-table"> 334 334 <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> 336 336 <td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" /> 337 337 <?php 338 338 $new_email = get_option( $current_user->ID . '_new_email' ); 339 339 if ( $new_email && $new_email['newemail'] != $current_user->user_email && $profileuser->ID == $current_user->ID ) : ?> 340 340 <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> 342 342 </div> 343 343 <?php endif; ?> 344 344 </td>