[wp-trac] [WordPress Trac] #63021: Lazy load user meta
WordPress Trac
noreply at wordpress.org
Tue Sep 9 15:49:54 UTC 2025
#63021: Lazy load user meta
--------------------------------------+--------------------------
Reporter: spacedmonkey | Owner: flixos90
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.9
Component: Users | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Comment (by westonruter):
Question: How often are users queried in core ''without'' also getting the
meta? For example, things as basic to a user such as `display_name` are
stored not in `wp_users` but `wp_usermeta`. If most every query will need
`wp_usermeta`, then adding lazy-loading will end up causing more queries
not fewer, right? If so, then should this lazy-loading be opt-in and
disabled by default?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63021#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list