[wp-trac] [WordPress Trac] #53634: Editing user in Dashboard and using "Send Reset Link " broken by retrieve_password()

WordPress Trac noreply at wordpress.org
Wed Oct 5 21:33:06 UTC 2022


#53634: Editing user in Dashboard and using "Send Reset Link " broken by
retrieve_password()
----------------------------------------+-----------------------
 Reporter:  boblindner                  |       Owner:  pbearne
     Type:  defect (bug)                |      Status:  assigned
 Priority:  normal                      |   Milestone:  6.1
Component:  Users                       |     Version:
 Severity:  major                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------

Comment (by audrasjb):

 Thanks @pbearne, I tested your PR with the provided testing steps and it
 also fixes the issue on my side.

 Steps to reproduce:
 - make a user with the same username AND email address. e.g.
 foo(@)example.com
 - edit that user and change the email address (username not editable) to
 the email address. e.g. bar(@)example.com and save user
 - Try to use the “Send Reset Link” button while editing that user again
 (/wp-admin/user-edit.php)

 After applying the patch, the email is sent.

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


More information about the wp-trac mailing list