[wp-trac] [WordPress Trac] #53634: Editing user in Dashboard and using "Send Reset Link " broken by retrieve_password()
WordPress Trac
noreply at wordpress.org
Tue Oct 11 13:43:34 UTC 2022
#53634: Editing user in Dashboard and using "Send Reset Link " broken by
retrieve_password()
--------------------------------------+----------------------
Reporter: boblindner | Owner: pbearne
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Users | Version:
Severity: major | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+----------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"54477" 54477]:
{{{
#!CommitTicketReference repository="" revision="54477"
Users: Fetch user by login in `retrieve_password()` if not found by email.
This ensures that sending a password reset link works as expected if the
user's login and email were initially the same, but the email address was
subsequently updated and no longer matches the login, which is still set
to the old address.
Follow-up to [6643], [18513], [19056], [37474], [50129], [50140].
Props donmhico, pbearne, azouamauriac, boblindner, daxelrod, audrasjb,
SergeyBiryukov.
Fixes #53634.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53634#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list