Ticket #32684: 32684.patch
File 32684.patch, 537 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/user.php
diff --git src/wp-includes/user.php src/wp-includes/user.php index f2529dc..c6410cb 100644
function wp_update_user($userdata) { 2158 2158 $send_pass_change_email = apply_filters( 'send_pass_change_email', true, $user, $userdata ); 2159 2159 } 2160 2160 2161 if ( $user['user_email'] !== $userdata['user_email'] ) {2161 if ( isset( $userdata['user_email'] ) && $user['user_email'] !== $userdata['user_email'] ) { 2162 2162 /** 2163 2163 * Filter to stop the sending of the email change email. 2164 2164 *