Skip to:
Content

BuddyPress.org

Changeset 3722


Ignore:
Timestamp:
01/16/2011 06:03:19 PM (13 years ago)
Author:
boonebgorges
Message:

Modifies the way that BP hides the WP 3.1 admin bar, to keep with WP's recommendations. References #2706

File:
1 edited

Legend:

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

    r3639 r3722  
    292292    } elseif ( !defined( 'BP_DISABLE_ADMIN_BAR' ) || !BP_DISABLE_ADMIN_BAR ) {
    293293        // Keep the WP admin bar from loading
    294         remove_action( 'init', 'wp_admin_bar_init' );
    295        
    296         // Remove the WP admin bar options from user profiles
    297         remove_action( 'personal_options', '_admin_bar_preferences' );
     294        show_admin_bar( false );
    298295       
    299296        // Actions used to build the BP admin bar
Note: See TracChangeset for help on using the changeset viewer.