Opened 17 years ago
Closed 17 years ago
#458 closed defect (bug) (no action required)
blog_option not working
| Reported by: | lucahurst | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Version: | ||
| Severity: | 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);
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
You should first try get_blog_option() and update_blog_option()
Report this on WPMU trac, as it's not really BuddyPress related.