Skip to:
Content

BuddyPress.org

Opened 2 months ago

Last modified 3 weeks ago

#9263 new defect (bug)

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: Awaiting Review Priority: high
Severity: normal Version:
Component: Core Keywords: needs-patch
Cc: emaralive

Description

Whats the workaround for this warning message?

Change History (3)

#1 @emaralive
2 months ago

  • Cc emaralive added

#2 @truptikanzariya
7 weeks ago

  • Keywords needs-patch added

#3 @pratiklondhe
3 weeks 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.
Note: See TracTickets for help on using tickets.