Skip to:
Content

BuddyPress.org

Changeset 4409


Ignore:
Timestamp:
05/21/2011 07:29:15 PM (14 years ago)
Author:
djpaul
Message:

Don't load buddybar CSS if hide-loggedout-adminbar is set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-buddybar.php

    r4400 r4409  
    488488        show_admin_bar( false );
    489489
     490        if ( (int)get_site_option( 'hide-loggedout-adminbar' ) && !is_user_logged_in() )
     491            return;
     492
    490493        // Admin bar styles
    491494        $stylesheet = get_blog_option( BP_ROOT_BLOG, 'stylesheet' );
Note: See TracChangeset for help on using the changeset viewer.