Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/04/2011 04:59:01 PM (13 years ago)
Author:
johnjamesjacoby
Message:
  • Swap BP_ROOT_BLOG const usage for new bp_get_root_blog_id() function
  • Use bp_get_root_blog_id() place of bp_get_option_blog_id()
  • Check for BP_ENABLE_MULTIBLOG when assigning root blog ID

See #3313, #3314.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-bbpress-sa.php

    r4211 r4602  
    8484    // Set a site id if there isn't one already
    8585    if ( !isset( $bb->site_id ) )
    86         $bb->site_id = BP_ROOT_BLOG;
     86        $bb->site_id = bp_get_root_blog_id();
    8787
    8888    // Check if the tables are installed, if not, install them
Note: See TracChangeset for help on using the changeset viewer.