[wp-trac] [WordPress Trac] #28435: wp_update_user breaks when passed WP_User instance

WordPress Trac noreply at wordpress.org
Tue Oct 13 02:47:11 UTC 2015


#28435: wp_update_user breaks when passed WP_User instance
--------------------------+------------------------------
 Reporter:  rmccue        |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35116"]:
 {{{
 #!CommitTicketReference repository="" revision="35116"
 Users: when passing a `WP_User` instance to `wp_update_user()`, ensure
 that the user password is not accidentally double-hashed. This is
 terrifying.

 Adds unit tests.

 Props tbcorr, salcode.
 Fixes #28435.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28435#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list