[wp-trac] [WordPress Trac] #55594: Prime user meta in WP_User_Query
WordPress Trac
noreply at wordpress.org
Wed Apr 20 17:37:27 UTC 2022
#55594: Prime user meta in WP_User_Query
--------------------------+-----------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Keywords: needs-patch
Focuses: performance |
--------------------------+-----------------------------
Ensure that user meta cache is primed in the `WP_User_Query` class, as
user meta is used heavily in WP_User class. Prime all user meta in one
query will result in less queries overall.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55594>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list