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

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 10 18:57:33 UTC 2011


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

Comment (by SergeyBiryukov):

 Replying to [comment:78 ryan]:
 > Includes a test case that catches the get_blogs_of_user() bug.

 Aside from caching, the test fails due to different sorting: `$blog_ids`
 is ordered, `get_blogs_of_user()` is not. [attachment:15458.testcase-
 get_blogs_of_user.patch] fixes that. With [attachment:15458.9.diff]
 applied, the test then passes correctly.

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


More information about the wp-trac mailing list