Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/28/2009 06:41:13 PM (16 years ago)
Author:
apeatling
Message:

Make sure no admin bar is output on disable constant.

File:
1 edited

Legend:

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

    r1655 r1722  
    33function bp_core_admin_bar() {
    44    global $bp, $wpdb, $current_blog, $doing_admin_bar;
     5   
     6    if ( defined( 'BP_DISABLE_ADMIN_BAR' ) )
     7        return false;
    58   
    69    $doing_admin_bar = true;
Note: See TracChangeset for help on using the changeset viewer.