WordPress.org

Make WordPress Core

Changeset 24345


Ignore:
Timestamp:
05/24/2013 04:22:22 PM (8 years ago)
Author:
nacin
Message:

Remove docs suggesting that wp_update_user() creates a user if no ID is provided. See #16731, that is incorrect at this time.

File:
1 edited

Legend:

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

    r24092 r24345  
    14271427 * value in the $userdata parameter array.
    14281428 *
    1429  * If $userdata does not contain an 'ID' key, then a new user will be created
    1430  * and the new user's ID will be returned.
    1431  *
    14321429 * If current user's password is being updated, then the cookies will be
    14331430 * cleared.
Note: See TracChangeset for help on using the changeset viewer.