diff --git a/wp-includes/user.php b/wp-includes/user.php
index 9b4c1c7..e3a9f2a 100644
|
a
|
b
|
function wp_update_user( $userdata ) { |
| 2472 | 2472 | } |
| 2473 | 2473 | |
| 2474 | 2474 | // Updating user email address. |
| 2475 | | if ( isset( $userdata['user_email'] ) && $user->user_email !== $userdata['user_email'] ) { |
| | 2475 | if ( isset( $userdata['user_email'] ) && 0 !== strcasecmp( $user->user_email, $userdata['user_email'] ) ) { |
| 2476 | 2476 | /** |
| 2477 | 2477 | * Fires immediately before the user email is changed. |
| 2478 | 2478 | * |
| … |
… |
function wp_update_user( $userdata ) { |
| 2601 | 2601 | } |
| 2602 | 2602 | |
| 2603 | 2603 | // If the email address has changed, send a notification. |
| 2604 | | if ( $user_email !== $old_user_data->user_email ) { |
| | 2604 | if ( 0 !== strcasecmp( $user_email, $old_user_data->user_email ) ) { |
| 2605 | 2605 | /** |
| 2606 | 2606 | * Fires after the user email has changed. |
| 2607 | 2607 | * |