[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 14:21:20 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:  close         |
--------------------------+------------------------------
Changes (by mauryaratan):

 * keywords:   => close


Comment:

 As explained in the documentation you should be using {{{wp_update_user}}}
 instead.

   Note: As late as 2.7.1, if you are attempting to update the password for
 the user, this function will not hash the password, thus failing. Use the
 wp_update_user function instead.

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


More information about the wp-trac mailing list