[buddypress-trac] [BuddyPress Trac] #4913: BP_Core->setup_globals is very expensive on child sites in a network (switch_to_blog())
buddypress-trac
noreply at wordpress.org
Fri Mar 28 22:16:43 UTC 2014
#4913: BP_Core->setup_globals is very expensive on child sites in a network
(switch_to_blog())
--------------------------+-----------------------------
Reporter: wpdennis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Core | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+-----------------------------
Comment (by r-a-y):
In [changeset:"8188"]:
{{{
#!CommitTicketReference repository="" revision="8188"
In bp_get_option(), check the buddypress()->site_options array first.
This is to prevent having to use get_blog_option() if we have already
fetched the option in question.
See #4913
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4913#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list