[wp-trac] [WordPress Trac] #43692: Add Limit 1 to User query
WordPress Trac
noreply at wordpress.org
Sun Sep 23 15:32:51 UTC 2018
#43692: Add Limit 1 to User query
--------------------------+-----------------------------
Reporter: spacedmonkey | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9.9
Component: Users | Version: 3.3
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: performance
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"43651" 43651]:
{{{
#!CommitTicketReference repository="" revision="43651"
Users: Add `LIMIT 1` to SQL query in `WP_User::get_data_by()`, as only one
row is requested.
Props spacedmonkey.
Fixes #43692.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43692#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list