From 8a301818964db2db2cc342e0d3b55a4a072bf2c3 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 24 May 2013 16:22:22 +0000 Subject: [PATCH] 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 --- wp-includes/user.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index 8e475e1b09..2b0c417de5 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -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. *