Skip to:

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3313 closed defect (bug) (fixed)

WP sitewide options not being loaded on multisite

Reported by: boonebgorges's profile boonebgorges Owned by: boonebgorges's profile boonebgorges
Milestone: 1.5 Priority: major
Severity: Version: 1.5
Component: Core Keywords:


Some items in $bp->site_options are WP options that are always stored in wp_sitemeta on MS. Recent changes to the way that metadata is stored failed to keep this in account. See for more details.

Attachments (1)

bag-o-fun.patch (71.7 KB) - added by johnjamesjacoby 13 years ago.

Download all attachments as: .zip

Change History (6)

#1 @boonebgorges
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4585]) Ensure that wp_sitemeta WP options are picked up when BP is loaded. Fixes #3313

#2 @johnjamesjacoby
13 years ago

Is #3307 possibly related?

#3 @johnjamesjacoby
13 years ago

(In [4587]) Rename bp_core_get_site_options() to bp_core_get_root_options() and fix issue where moved site settings would not completely migrate, causing migration to run on each page load. Fixes #3307. See #3313 and r4585.

#4 @johnjamesjacoby
13 years ago

Since we are migrating all options to the blog options, is bp_get_option_blog_id() ever going to be different than the root ID?

#5 @johnjamesjacoby
13 years ago

(In [4602]) * Swap BP_ROOT_BLOG const usage for new bp_get_root_blog_id() function

  • Use bp_get_root_blog_id() place of bp_get_option_blog_id()
  • Check for BP_ENABLE_MULTIBLOG when assigning root blog ID

See #3313, #3314.

Note: See TracTickets for help on using tickets.