Ticket #3228: 3228.diff
File 3228.diff, 530 bytes (added by , 14 years ago) |
---|
-
bp-loader.php
26 26 require_once( WP_PLUGIN_DIR . '/bp-custom.php' ); 27 27 28 28 // Define on which blog ID BuddyPress should run 29 if ( !defined( 'BP_ROOT_BLOG' ) ) 30 define( 'BP_ROOT_BLOG', 1 ); 29 if ( !defined( 'BP_ROOT_BLOG' ) ) { 30 $current_site = get_current_site(); 31 define( 'BP_ROOT_BLOG', $current_site->blog_id ); 32 } 31 33 32 34 // Path and URL 33 35 if ( !defined( 'BP_PLUGIN_DIR' ) )