Changeset 4107 for trunk/bp-core/bp-core-catchuri.php
- Timestamp:
- 03/11/2011 06:02:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r4104 r4107 28 28 function bp_core_set_uri_globals() { 29 29 global $bp, $bp_unfiltered_uri, $bp_unfiltered_uri_offset; 30 global $current_blog ;30 global $current_blog, $wpdb; 31 31 32 32 // Create global component, action, and item variables … … 37 37 // on multiple blogs 38 38 if ( !defined( 'BP_ENABLE_MULTIBLOG' ) && is_multisite() ) { 39 if ( BP_ROOT_BLOG != (int) $ current_blog->blog_id )39 if ( BP_ROOT_BLOG != (int) $wpdb->blogid ) 40 40 return false; 41 41 }
Note: See TracChangeset
for help on using the changeset viewer.