Skip to:
Content

BuddyPress.org

Changeset 4633 for trunk/bp-loader.php


Ignore:
Timestamp:
07/09/2011 10:01:46 PM (13 years ago)
Author:
boonebgorges
Message:

Ensure that bp_get_root_blog_id() is defined during activation routine on a fresh installation of BuddyPress. Props stas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r4602 r4633  
    110110        require ( WP_PLUGIN_DIR . '/buddypress/bp-core/bp-core-wpabstraction.php' );
    111111
     112    if ( !function_exists( 'bp_get_root_blog_id' ) )
     113        require ( WP_PLUGIN_DIR . '/buddypress/bp-core/bp-core-functions.php' );
     114
    112115    // Switch the user to the new bp-default if they are using the old
    113116    // bp-default on activation.
Note: See TracChangeset for help on using the changeset viewer.