[buddypress-trac] [BuddyPress] #3261: BP options get/update wrapper functions
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Fri Jun 10 16:11:37 UTC 2011
#3261: BP options get/update wrapper functions
---------------------------+-----------------
Reporter: boonebgorges | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.3
Component: Core | Version:
Resolution: | Keywords:
---------------------------+-----------------
Comment (by boonebgorges):
In this week's dev chat we decided on the following strategy:
- All settings (bp-pages and otherwise) will be moved to _options rather
than sitemeta
- Introduce bp_get_option() and bp_update_option(), which will be wrappers
for get_blog_option( $blog_id, 'option' ) where $blog_id defaults to
BP_ROOT_BLOG on standard installs. (For non-MS installs, we define
get_blog_option() in bp-core-wpabstraction.php. update_blog_option() will
have to be added to the abstraction file)
working on a patch right now.
--
Ticket URL: <https://trac.buddypress.org/ticket/3261#comment:14>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list