[wp-trac] [WordPress Trac] #25745: Update user with wp_insert_user reset first and last name

WordPress Trac noreply at wordpress.org
Mon Oct 28 18:18:57 UTC 2013


#25745: Update user with wp_insert_user reset first and last name
--------------------------------------------+------------------------------
 Reporter:  sudoku1                         |       Owner:
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  Awaiting Review
Component:  General                         |     Version:  3.6.1
 Severity:  major                           |  Resolution:
 Keywords:  dev-feedback reporter-feedback  |
--------------------------------------------+------------------------------

Comment (by DrewAPicture):

 In my reading of [http://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/user.php#L1258 the source] for `wp_insert_user()` it definitely
 seems like we either need to update the docs to reflect that `user_login`
 is required for updating existing users or fix it so only the `ID` is
 required.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25745#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list