Opened 16 years ago
Closed 16 years ago
#458 closed defect (bug) (no action required)
blog_option not working
Reported by: | lucahurst | Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
May be an WPMU 2.7 problem but just though that I'd report it here anyways.
It seems like the add_option and get_option functions are not working with the latest svn version of BB and the 2.7 release of WPMU.
In the following code the var_dump returns NULL.
add_option('mb_piwik_analytics_blog_tracking_id', 4 );
$piwik_site_id = get_option('mb_piwik_analytics_blog_tracking_id');
var_dump($piwik_site_id);
Note: See
TracTickets for help on using
tickets.
You should first try get_blog_option() and update_blog_option()
Report this on WPMU trac, as it's not really BuddyPress related.