[wp-trac] [WordPress Trac] #15458: Lazy-load usermeta into the user object
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 6 18:52:37 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 ryan):
Various themes, plugins, and even maybe a couple places in core are
calling get_blogs_of_user() with a user ID of 0 or null, resulting in the
warning noted in the commit message above. Checking for an empty id at
the top of the function seems a good idea.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15458#comment:59>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list