Changeset 4631 for trunk/bp-core/bp-core-buddybar.php
- Timestamp:
- 07/09/2011 07:24:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-buddybar.php
r4602 r4631 510 510 511 511 // Show the WordPress admin bar 512 if ( defined( 'BP_USE_WP_ADMIN_BAR' ) && BP_USE_WP_ADMIN_BAR&& $wp_version >= 3.1 ) {512 if ( bp_use_wp_admin_bar() && $wp_version >= 3.1 ) { 513 513 show_admin_bar( true ); 514 514 515 515 // Hide the WordPress admin bar 516 } elseif ( ! defined( 'BP_DISABLE_ADMIN_BAR' ) || !BP_DISABLE_ADMIN_BAR) {516 } elseif ( !bp_use_wp_admin_bar() ) { 517 517 518 518 // Keep the WP admin bar from loading
Note: See TracChangeset
for help on using the changeset viewer.