[buddypress-trac] [BuddyPress] #3261: BP options get/update wrapper functions
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue May 31 21:57:12 UTC 2011
#3261: BP options get/update wrapper functions
--------------------------+-----------------
Reporter: boonebgorges | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.3
Component: Core | Version:
Keywords: |
--------------------------+-----------------
See #3219.
Just like we had with #2952, in order for multiblog and multinetwork to
work correctly, we'll need to be able to filter where global settings are
stored.
wpmuguru has suggested bp_get_option() and bp_update_option type wrappers,
with the logic set internally.
https://buddypress.trac.wordpress.org/ticket/3219#comment:10 I wish there
were a way to do this that was more in line with what we did with usermeta
#2952, where only the meta keys are filtered. But because on multisite the
default behavior is to store things in site options, that's not possible.
To be honest, I don't really like that BP stores settings using
update_site_option(). I don't see what benefit we get from having this
additional logic. Unfortunately, we probably have to keep it that way for
reasons of backward compatibility.
jjj and DJPaul, what's your view on introducing bp_get_option() and
bp_update_option() wrappers?
--
Ticket URL: <https://trac.buddypress.org/ticket/3261>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list