Ticket #23146: 23146.patch
File 23146.patch, 875 bytes (added by , 12 years ago) |
---|
-
wp-admin/user-edit.php
337 337 <td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" /> 338 338 <?php 339 339 $new_email = get_option( $current_user->ID . '_new_email' ); 340 if ( $new_email && $ new_email!= $current_user->user_email ) : ?>340 if ( $new_email && $profileuser->ID == $current_user->ID && $new_email['newemail'] != $current_user->user_email ) : ?> 341 341 <div class="updated inline"> 342 342 <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> 343 343 </div>