Skip to:
Content

BuddyPress.org

Opened 13 months ago

Closed 4 weeks ago

#9263 closed defect (bug) (invalid)

Warning: Function bp_use_wp_admin_bar() is deprecated since version 14.0.0 with no alternative available

Reported by: locker17's profile locker17 Owned by:
Milestone: Priority: high
Severity: normal Version:
Component: Core Keywords: needs-patch
Cc: emaralive

Description

Whats the workaround for this warning message?

Change History (4)

#1 @emaralive
13 months ago

  • Cc emaralive added

#2 @truptikanzariya
13 months ago

  • Keywords needs-patch added

#3 @pratiklondhe
12 months ago

I noticed this in the commit message ( below pasted ). You might need to remove the call to bp_use_wp_admin_bar() from your custom plugin or theme code, as it is no longer required.

PR Link: https://github.com/buddypress/buddypress/pull/234

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.

#4 @espellcaste
4 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

There is no BP workaround for this. Since we rely on WordPress core admin bar, maybe you can use is_admin_bar_showing as a replacement.

Note: See TracTickets for help on using tickets.