Skip to:
Content

BuddyPress.org

Opened 8 months ago

Closed 8 months ago

Last modified 4 months ago

#9104 closed defect (bug) (fixed)

Deprecate the BP_USE_WP_ADMIN_BAR constant as well as the bp_use_wp_admin_bar() function

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 14.0.0 Priority: normal
Severity: normal Version: 1.5
Component: Toolbar & Notifications Keywords: has-patch
Cc:

Description

This step was missed when saying goodbye to our legacy BuddyBar. See #7729.

Many thanks to @espellcaste & @emaralive work about documenting/informing on BP Constants (see #9101) as it helped me found this issue.

Change History (3)

This ticket was mentioned in PR #234 on buddypress/buddypress by imath.


8 months ago
#1

  • Keywords has-patch added; needs-patch removed

Deprecate bp_use_wp_admin_bar() & BP_USE_WP_ADMIN_BAR

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9104

#2 @imath
8 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13741:

Deprecate bp_use_wp_admin_bar() & BP_USE_WP_ADMIN_BAR

This function and constant were useful when BuddyPress was including an alternative toolbar to the WordPress Admin Bar called the "BuddyBar". The BuddyBar was removed in [12893] but we forgot to deprecate bp_use_wp_admin_bar() & BP_USE_WP_ADMIN_BAR. This commit is finally achieving the step we missed almost 3 years ago.

Props espellcaste, emaralive

Fixes #9104
Closes https://github.com/buddypress/buddypress/pull/234

This ticket was mentioned in Slack in #buddypress by emaralive. View the logs.


4 months ago

Note: See TracTickets for help on using tickets.