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

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 5 22:53:14 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 ryan):

 {{{
 foreach ( (array) $user as $key => $value )
 }}}

 As seen in get_blogs_of_user() won't work as previously expected if $user
 a WP_User object.  Something to be wary of.

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


More information about the wp-trac mailing list