Ticket #21439: 21439.patch
File 21439.patch, 575 bytes (added by , 13 years ago) |
---|
-
wp-includes/user.php
1391 1391 * @uses wp_insert_user() Used to update existing user or add new one if user doesn't exist already 1392 1392 * 1393 1393 * @param array $userdata An array of user data. 1394 * @return int The updated user's ID.1394 * @return int|WP_Error The updated user's ID or a WP_Error object if the user could not be updated. 1395 1395 */ 1396 1396 function wp_update_user($userdata) { 1397 1397 $ID = (int) $userdata['ID'];