Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 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);

Change History (1)

#1 @apeatling
12 years ago

  • Resolution set to invalid
  • Status changed from new to closed

You should first try get_blog_option() and update_blog_option()

Report this on WPMU trac, as it's not really BuddyPress related.

Note: See TracTickets for help on using tickets.