[buddypress-trac] [BuddyPress Trac] #8158: WP_Admin_Bar::add_menu() is deprecated in WP 5.4

buddypress-trac noreply at wordpress.org
Thu Nov 7 19:00:11 UTC 2019


#8158: WP_Admin_Bar::add_menu() is deprecated in WP 5.4
-------------------------------------+---------------------
 Reporter:  imath                    |       Owner:  imath
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  6.0.0
Component:  Toolbar & Notifications  |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch                |
-------------------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12495" 12495]:
 {{{
 #!CommitTicketReference repository="" revision="12495"
 Use `WP_Admin_Bar::add_node()` to create new WP Admin Bar menu items

 `WP_Admin_Bar::add_menu()` has been deprecated in WordPress 5.4. As this
 `WP_Admin_Bar` method is a wrapper of `WP_Admin_Bar::add_node()` since the
 introduction of the WP Admin Bar into WordPress 3.3 we can safely do this
 move.

 Fixes #8158
 }}}

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


More information about the buddypress-trac mailing list