Skip to:
Content

BuddyPress.org

Changeset 5867


Ignore:
Timestamp:
02/28/2012 07:56:45 PM (13 years ago)
Author:
djpaul
Message:

Don't load BP Toolbar CSS when the Toolbar isn't shown. Fixes #4055

File:
1 edited

Legend:

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

    r5751 r5867  
    5151function bp_core_load_admin_bar_css() {
    5252
    53     if ( !bp_use_wp_admin_bar() || defined( 'DOING_AJAX' ) )
     53    if ( ! bp_use_wp_admin_bar() || ! is_admin_bar_showing() )
    5454        return;
    5555
Note: See TracChangeset for help on using the changeset viewer.