Ticket #43106: 43106.2.patch
| File 43106.2.patch, 959 bytes (added by , 8 years ago) |
|---|
-
src/wp-admin/user-edit.php
487 487 <th><label for="email"><?php _e( 'Email' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th> 488 488 <td><input type="email" name="email" id="email" value="<?php echo esc_attr( $profileuser->user_email ); ?>" class="regular-text ltr" /> 489 489 <?php 490 if( is_admin() && $profileuser->ID == $current_user->ID ) : ?> 491 <p class="description"><?php _e( 'If you change this email we will send you an email at your new address to confirm it. The new address will not become active until confirmed.' ); ?></p> 492 <?php endif; 490 493 $new_email = get_user_meta( $current_user->ID, '_new_email', true ); 491 494 if ( $new_email && $new_email['newemail'] != $current_user->user_email && $profileuser->ID == $current_user->ID ) : 492 495 ?>