[buddypress-trac] [BuddyPress Trac] #9263: Warning: Function bp_use_wp_admin_bar() is deprecated since version 14.0.0 with no alternative available

buddypress-trac noreply at wordpress.org
Mon Jan 27 10:47:28 UTC 2025


#9263: Warning: Function bp_use_wp_admin_bar() is deprecated since version 14.0.0
with no alternative available
--------------------------+------------------------------
 Reporter:  locker17      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  Awaiting Review
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by pratiklondhe):

 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.
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9263#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list