[wp-trac] [WordPress Trac] #51879: wp_set_password() resets user registered date

WordPress Trac noreply at wordpress.org
Fri Nov 27 12:07:24 UTC 2020


#51879: wp_set_password() resets user registered date
--------------------------+------------------------------
 Reporter:  cantuaria     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  5.6
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by donmhico):

 Hello @cantuaria,

 Unfortunately, I cannot reproduce the error you are mentioned. My
 `user_registered` isn't updated after using `wp_set_password()` to change
 the password. If a column / key isn't provided in the `$data` params in
 [https://developer.wordpress.org/reference/classes/wpdb/update/
 $wpdb->update] then that column won't be updated.

 Maybe some other plugin is doing this behavior for you. Can you disable
 all your plugins and change to a default theme (twentytwentyone, etc) and
 try again if you still see this behavior?

 Thank you.

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


More information about the wp-trac mailing list