Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/20/2011 09:08:27 PM (14 years ago)
Author:
boonebgorges
Message:

Fixes function_exists error in previous commit. Adjusts admin menu hooks to be compatible with Network Admin in WP 3.1. Fixes #3017

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core/bp-core-adminbar.php

    r3774 r3775  
    292292    } elseif ( !defined( 'BP_DISABLE_ADMIN_BAR' ) || !BP_DISABLE_ADMIN_BAR ) {
    293293        // Keep the WP admin bar from loading
    294         show_admin_bar( false );
     294        if ( function_exists( 'show_admin_bar' ) )
     295            show_admin_bar( false );
    295296       
    296297        // Actions used to build the BP admin bar
Note: See TracChangeset for help on using the changeset viewer.