[wp-trac] [WordPress Trac] #9414: add_menu_page() improvement
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 29 08:59:46 GMT 2009
#9414: add_menu_page() improvement
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Administration | Version: 2.7.1
Severity: minor | Keywords:
-------------------------------+--------------------------------------------
Currently, there is no means to add a new separator to the WP menu without
inserting it "manually" by editing the $menu variable.
It would be neat if, instead of the various lines in the $menu variable
that add the separator, WP would determine that a new top level new menu
item should always be preceded by a separator if part of the menu has been
displayed already.
Alternatively, add_menu_page() and other functions such functions could
insert the separator on the fly.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9414>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list