[wp-trac] [WordPress Trac] #19371: As of 3.3beta2 WP_Admin_Bar no longer provides a way to access attributes of existing menu items

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 30 20:46:48 UTC 2011


#19371: As of 3.3beta2 WP_Admin_Bar no longer provides a way to access attributes
of existing menu items
------------------------------------+-----------------------
 Reporter:  willshouse              |       Owner:  nacin
     Type:  defect (bug)            |      Status:  accepted
 Priority:  high                    |   Milestone:  3.3
Component:  Admin Bar               |     Version:  3.3
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------

Comment (by nacin):

 Talked with ocean90, he's fine with finalizing the rendering functions.
 Additional flexibility in the API (such as how 'html' now works) makes
 most modifications unnecessary; and render() is still overridable.

 We're not going to maintain compat for $menu. Suggest we make it array()
 and plugins will have to deal. We can throw a _deprecated_argument() and
 push them to use the new methods.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19371#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list