[wp-trac] [WordPress Trac] #19647: Use add_node() instead of add_menu() in core

WordPress Trac noreply at wordpress.org
Mon Jan 13 15:11:23 UTC 2020


#19647: Use add_node() instead of add_menu() in core
------------------------------+------------------------
 Reporter:  linuxologos       |       Owner:  chriscct7
     Type:  enhancement       |      Status:  closed
 Priority:  low               |   Milestone:  5.4
Component:  Toolbar           |     Version:  3.3
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------

Comment (by afercia):

 @johnbillion when you have a chance: both `add_menu()` and `remove_menu()`
 still have a `@since` notation mentioning the deprecation. Should those be
 removed as well?


 {{{
 * @since 5.4.0 Deprecated in favor of {@see WP_Admin_Bar::add_node()}.
 * @since 5.4.0 Deprecated in favor of {@see WP_Admin_Bar::remove_node()}.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/19647#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list