Skip to:

Opened 13 years ago

Closed 13 years ago

#3144 closed enhancement (fixed)

Move bp-pages to a site_option

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


Many of the problems that we are experiencing on Multisite with BP trunk have to do with bp-pages. In particular, there is perpetual confusion about where the bp-pages data is stored: when upgrading to MS, when changing your BP_ROOT_BLOG, etc. See, eg, #2446.

Much of this will go away if bp-pages data is stored instead in a site_option - so we'll always know where to look for it - which is internally keyed by blog_id.

I've attached a patch that does the trick, but I really need to have feedback on it first. For one thing, I have put in a little failsafe to make (reasonably) sure that current installations of the BP trunk will upgrade properly, but it's probably not 100%. Hopefully this is not a dealbreaker.

Please give the patch a try and let me know if it works. Thanks.

Attachments (1)

3144.patch (3.8 KB) - added by boonebgorges 13 years ago.

Download all attachments as: .zip

Change History (2)

13 years ago

#1 @boonebgorges
13 years ago

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

(In [4254]) Moves bp-pages data to a single site_option, an array keyed by blog_id. Fixes #3144

Note: See TracTickets for help on using tickets.