Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/09/2011 07:24:36 PM (14 years ago)
Author:
boonebgorges
Message:

Introduces bp_use_wp_admin_bar() to reduce BP_USE_WP_ADMIN_BAR checks throughout BP. See #3314

File:
1 edited

Legend:

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

    r4567 r4631  
    6464 */
    6565function bp_setup_admin_bar() {
    66     if ( defined( 'BP_USE_WP_ADMIN_BAR' ) && BP_USE_WP_ADMIN_BAR )
     66    if ( bp_use_wp_admin_bar() )
    6767        do_action( 'bp_setup_admin_bar' );
    6868}
Note: See TracChangeset for help on using the changeset viewer.