[wp-trac] Re: [WordPress Trac] #9876: sort items in the admin menu

WordPress Trac wp-trac at lists.automattic.com
Wed May 20 16:18:38 GMT 2009


#9876: sort items in the admin menu
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:                         
     Type:  defect (bug)       |      Status:  new                    
 Priority:  normal             |   Milestone:  2.8                    
Component:  UI                 |     Version:  2.8                    
 Severity:  minor              |    Keywords:  has-patch tested commit
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 I happen to maintain a few such plugins. :-)

 Contrary to WP menu items, add_menu_page and add_sub_menu page all have a
 page title argument. As a result, $_data[3] is always set. The only case
 where it would not be set if the globals are modified directly.

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


More information about the wp-trac mailing list