[wp-trac] [WordPress Trac] #19261: wp_update_user causes password to be double hashed

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 16 13:34:28 UTC 2011


#19261: wp_update_user causes password to be double hashed
-------------------------------------+------------------------------
 Reporter:  WPsites                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Users                    |     Version:  3.3
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |
-------------------------------------+------------------------------
Changes (by duck_):

 * keywords:   => reporter-feedback close


Comment:

 wp_insert_user() only hashes the given password if it's not updating an
 existing user.

 It sounds like you're passing an already hashed password to
 wp_update_user() instead of the expected new, plaintext password.

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


More information about the wp-trac mailing list