[wp-trac] [WordPress Trac] #58407: resetpassword action on users.php (users list page) handles retrieve_password() return incorrectly
WordPress Trac
noreply at wordpress.org
Fri May 26 05:46:57 UTC 2023
#58407: resetpassword action on users.php (users list page) handles
retrieve_password() return incorrectly
-------------------------------------------------+-------------------------
Reporter: letraceursnork | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: Users | Version: 6.2.2
Severity: trivial | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses: ui,
refresh | administration
-------------------------------------------------+-------------------------
Comment (by prashantbhivsane):
I think that the error should only be displayed when **$reset_count < 1**
(or 0), according to this, It will be displayed as an error if the
$reset_count is anything other than 1 ( both >1 and <1 ), need to handle
it for both.
Before [https://tinyurl.com/2q2k49f6]
After [https://tinyurl.com/2jq89pyq]
For error case [https://tinyurl.com/2jo7hqlx]
have added the updated patch
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58407#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list