[wp-trac] [WordPress Trac] #15458: Lazy-load usermeta into the user object

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 6 00:06:28 UTC 2011


#15458: Lazy-load usermeta into the user object
-------------------------+------------------
 Reporter:  nacin        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.3
Component:  Performance  |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by scribu):

 [attachment:lazy-load.diff]:

 * _fill_user(), _fill_single_user() and _fill_many_users() are gone.
 * get_user_metavalues() is deprecated
 * introduces a static method WP_User::get_data_by() which handles all
 fields, including 'id'
 * handles the case in get_blogs_of_user()

 What it doesn't handle yet: wp_insert_user(). This means that most fields
 in user-edit.php aren't updated anymore.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15458#comment:39>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list