Ticket #43748: 43748.2.patch
File 43748.2.patch, 620 bytes (added by , 6 years ago) |
---|
-
src/wp-admin/includes/user.php
222 222 223 223 if ( $update ) { 224 224 $user_id = wp_update_user( $user ); 225 226 /** 227 * Fires after an existing user has been updated. 228 * 229 * @since 4.9.5 230 * 231 * @param int $user_id ID of the updated user. 232 */ 233 do_action( 'edit_user_updated_user', $user_id ); 225 234 } else { 226 235 $user_id = wp_insert_user( $user ); 227 236 $notify = isset( $_POST['send_user_notification'] ) ? 'both' : 'admin';