[wp-trac] [WordPress Trac] #15458: Lazy-load usermeta into the user object
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 17 22:47:30 UTC 2010
#15458: Lazy-load usermeta into the user object
-------------------------+--------------------------------------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Performance | Version:
Severity: normal | Keywords: 3.2-early
-------------------------+--------------------------------------------------
Currently we load all usermeta keys into the user object. This is not
ideal, and it doesn't scale when you wish to store a lot of data in
usermeta. (Example, BuddyPress profiles.)
We can leverage a magic `__get()` method for WP_User and fetch data on
demand, instead of our current situation.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15458>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list