mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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: http://core.svn.wordpress.org/trunk@24345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e4cb7d70bd
commit
97ce5922db
@ -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