Ticket #32851: 32851.patch
File 32851.patch, 556 bytes (added by , 9 years ago) |
---|
-
wp-includes/user.php
2056 2056 } 2057 2057 $wpdb->update( $wpdb->users, $data, compact( 'ID' ) ); 2058 2058 $user_id = (int) $ID; 2059 $wpdb->update( $wpdb->comments, array( 'comment_author_email' => $user_email, 'comment_author_url' => $user_url ), array( 'user_id' => $user_id ) ); 2059 2060 } else { 2060 2061 $wpdb->insert( $wpdb->users, $data + compact( 'user_login' ) ); 2061 2062 $user_id = (int) $wpdb->insert_id;