[buddypress-trac] [BuddyPress] #3144: Move bp-pages to a site_option

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Apr 9 22:52:16 UTC 2011


#3144: Move bp-pages to a site_option
--------------------------+--------------------------
 Reporter:  boonebgorges  |      Owner:  boonebgorges
     Type:  enhancement   |     Status:  new
 Priority:  critical      |  Milestone:  1.3
Component:  Core          |    Version:  1.3
 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.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3144>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list