Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/19/2021 04:25:39 AM (6 months ago)
Author:
imath
Message:

Entirely remove the code of the deprecated BuddyBar

The BuddyBar has been deprecated in version 2.1. We are now completely removing it.

Props r-a-y, DJPaul

Fixes #7729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-functions.php

    r12892 r12893  
    434434function bp_use_wp_admin_bar() {
    435435
    436     // Default to true (to avoid loading deprecated BuddyBar code).
     436    // Default to true.
    437437    $use_admin_bar = true;
    438438
     
    440440    if ( defined( 'BP_USE_WP_ADMIN_BAR' ) ) {
    441441        $use_admin_bar = (bool) BP_USE_WP_ADMIN_BAR;
    442 
    443     // ...or is the old BuddyBar being forced back into use?
    444     } elseif ( bp_force_buddybar( false ) ) {
    445         $use_admin_bar = false;
    446442    }
    447443
Note: See TracChangeset for help on using the changeset viewer.