Changeset 2599
- Timestamp:
- 02/04/2010 05:11:17 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-cssjs.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cssjs.php
r2591 r2599 10 10 */ 11 11 function bp_core_add_admin_bar_css() { 12 global $bp ;12 global $bp, $current_blog; 13 13 14 14 if ( defined( 'BP_DISABLE_ADMIN_BAR' ) ) 15 15 return false; 16 16 17 if ( !bp_core_is_multisite() ) 18 return false; 19 20 if ( $bp->current_blog != BP_ROOT_BLOG ) { 17 if ( ( bp_core_is_multisite() && $current_blog->blog_id != BP_ROOT_BLOG ) || is_admin() ) { 21 18 $stylesheet = get_blog_option( BP_ROOT_BLOG, 'stylesheet' ); 22 19
Note: See TracChangeset
for help on using the changeset viewer.