[wp-trac] [WordPress Trac] #29880: wp_insert_user() wiping out user_pass when one isn't provided and the user exists

WordPress Trac noreply at wordpress.org
Wed Nov 11 22:30:29 UTC 2015


#29880: wp_insert_user() wiping out user_pass when one isn't provided and the user
exists
-------------------------------------+------------------------
 Reporter:  cartpauj                 |       Owner:  chriscct7
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.4
Component:  Users                    |     Version:  4.0
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------
Changes (by wonderboymusic):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35618"]:
 {{{
 #!CommitTicketReference repository="" revision="35618"
 Users: in `wp_insert_user()`, when a password isn't provided and the user
 exists, ensure that the password isn't wiped out.

 Adds unit test.

 Props leewillis77.
 Fixes #29880.
 }}}

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


More information about the wp-trac mailing list