[buddypress-trac] [BuddyPress] #3261: BP options get/update wrapper functions
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Fri Jun 24 18:01:13 UTC 2011
#3261: BP options get/update wrapper functions
---------------------------+--------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: defect | Status: assigned
Priority: normal | Milestone: 1.3
Component: Core | Version:
Resolution: | Keywords:
---------------------------+--------------------------
Comment (by boonebgorges):
> Is there a reason you left the bp-blogs-first-install as a site option
L1130 of bp-core-update.php?
No, it was an oversight. I'm fixing it in my updated patch.
In an earlier post, I said:
> A multinetwork BP plugin will need to filter this value, so that other
BP options are stored in a site-specific way.
I realize now that this is incorrect. bp_get_option_blog_id() will fall
back on BP_ROOT_BLOG in most cases, which should be inherited from filters
already applied elsewhere in the multinetwork setup. That's a good thing,
as it means that bp_get_option() and bp_update_option will work totally
seamlessly.
See 3261.2.patch
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3261#comment:19>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list