Skip to:

Opened 4 months ago

Closed 4 months ago

Last modified 13 days 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


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.

4 months ago

  • Keywords has-patch added; needs-patch removed

Deprecate bp_use_wp_admin_bar() & BP_USE_WP_ADMIN_BAR

Trac ticket:

#2 @imath
4 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

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

13 days ago

Note: See TracTickets for help on using tickets.