[wp-trac] [WordPress Trac] #45845: Use get_user_by in check_password_reset_key
WordPress Trac
noreply at wordpress.org
Thu Aug 1 19:18:37 UTC 2019
#45845: Use get_user_by in check_password_reset_key
--------------------------------------+-----------------------------
Reporter: spacedmonkey | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Users | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses: performance
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"45716" 45716]:
{{{
#!CommitTicketReference repository="" revision="45716"
Users: Replace raw SQL query in `check_password_reset_key()` with
`get_user_by()`.
Props davidbaumwald, iworks, spacedmonkey.
Fixes #45845.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45845#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list