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

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 7 10:51:41 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 needs-testing  |
-------------------------------------+------------------

Comment (by scribu):

 In [attachment:lazy-load.2.diff], that line is replaced with this:

 {{{$this->caps = get_user_meta( $this->ID, $this->cap_key, true );}}}

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


More information about the wp-trac mailing list