Make WordPress Core

Ticket #43051: 43051.1.patch

File 43051.1.patch, 641 bytes (added by nextendweb, 8 years ago)
  • wp-includes/user.php

     
    18441844 *
    18451845 * @see wp_insert_user() For what fields can be set in $userdata.
    18461846 *
    1847  * @param object|WP_User $userdata An array of user data or a user object of type stdClass or WP_User.
     1847 * @param array|object|WP_User $userdata An array of user data or a user object of type stdClass or WP_User.
    18481848 * @return int|WP_Error The updated user's ID or a WP_Error object if the user could not be updated.
    18491849 */
    18501850function wp_update_user( $userdata ) {