[buddypress-trac] [BuddyPress] #4917: subdomain setup in multisite pulls pages from main site

buddypress-trac noreply at wordpress.org
Sun Jun 9 13:39:08 UTC 2013

#4917: subdomain setup in multisite pulls pages from main site
 Reporter:  astromono            |       Owner:  johnjamesjacoby
     Type:  defect (bug)         |      Status:  closed
 Priority:  high                 |   Milestone:  1.8
Component:  Core                 |     Version:  1.7
 Severity:  major                |  Resolution:  fixed
 Keywords:  needs-testing early  |
Changes (by boonebgorges):

 * status:  accepted => closed
 * resolution:   => fixed


 In [changeset:"7192"]:
 #!CommitTicketReference repository="" revision="7192"
 Refines the way that BP_ROOT_BLOG is calculated on multisite installations

 BP was originally a 'network: true' plugin, making it possible to assume
 blog 1
 as the default value of BP_ROOT_BLOG on a multisite installation, unless
 otherwise declared. When the network-only restriction was lifted, it
 possible to activate BP only on a secondary site in a network, in which
 the default value 1 of BP_ROOT_BLOG no longer applies.

 This changeset reworks the logic used to calculate BP_ROOT_BLOG, starting
 the assumption that it is the current blog, and only changing it to the
 current site's blog_id (blog 1, in non-multi-network setups) when the
 is indeed network-activated.

 This fixes a number of problems, notably one where it was impossible to
 set up
 the bp-pages associations, because the Pages dropdowns were populated from
 1 when BP was active only on a secondary blog of a network.

 Fixes #4917

 Props r-a-y

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4917#comment:4>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list