[wp-trac] [WordPress Trac] #19206: Improve internal admin menu code

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 8 17:53:44 UTC 2011


#19206: Improve internal admin menu code
----------------------------+---------------------------------
 Reporter:  koopersmith     |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Future Release
Component:  Administration  |    Version:  3.3
 Severity:  normal          |   Keywords:  3.4-early has-patch
----------------------------+---------------------------------
 The internal admin menu code is both hard to read and filled with several
 unnecessary branches. This makes maintaining the code quite difficult.

 A few uses of list and smarter branching can considerably improve
 _wp_menu_output. Patch attached. Let's revisit this when we branch for
 3.4.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19206>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list