Make WordPress Core

Changeset 21509


Ignore:
Timestamp:
08/14/2012 07:29:40 PM (12 years ago)
Author:
ryan
Message:

Update wp_update_user() phpdoc to reflect a possible return of WP_Error. Props SergeyBiryukov. fixes #21439

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r21496 r21509  
    13941394 *
    13951395 * @param mixed $userdata An array of user data or a user object of type stdClass or WP_User.
    1396  * @return int The updated user's ID.
     1396 * @return int|WP_Error The updated user's ID or a WP_Error object if the user could not be updated.
    13971397 */
    13981398function wp_update_user($userdata) {
Note: See TracChangeset for help on using the changeset viewer.