Remove docs suggesting that wp_update_user() creates a user if no ID is provided. See #16731, that is incorrect at this time.
git-svn-id: https://develop.svn.wordpress.org/trunk@24345 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fcbfed2328
commit
8a30181896
@ -1426,9 +1426,6 @@ function wp_insert_user( $userdata ) {
|
||||
* It is possible to update a user's password by specifying the 'user_pass'
|
||||
* value in the $userdata parameter array.
|
||||
*
|
||||
* If $userdata does not contain an 'ID' key, then a new user will be created
|
||||
* and the new user's ID will be returned.
|
||||
*
|
||||
* If current user's password is being updated, then the cookies will be
|
||||
* cleared.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user