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

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 8 01:47:31 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 nacin):

 The final condition is rare -- it only applies for a single site (root),
 and not for all networks (non-MU). Maybe we should check for that key with
 an isset() or something beforehand, perhaps.

 I'm honestly surprised substr() is faster than strpos().

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

More information about the wp-trac mailing list