[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
Sat Oct 11 07:22:56 UTC 2014


#29880: wp_insert_user() wiping out user_pass when one isn't provided and the user
exists
--------------------------+------------------------------
 Reporter:  cartpauj      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by leewillis77):

 Hi Sergey,

 Thanks for your comment - in that case perhaps deprecating the use case of
 passing a user ID is the better solution here. Patch attached.

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


More information about the wp-trac mailing list