[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


Comment:

 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
 became
 possible to activate BP only on a secondary site in a network, in which
 case
 the default value 1 of BP_ROOT_BLOG no longer applies.

 This changeset reworks the logic used to calculate BP_ROOT_BLOG, starting
 with
 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
 plugin
 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
 blog
 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/>
BuddyPress


More information about the buddypress-trac mailing list