Opened 17 years ago
Closed 17 years ago
#9414 closed enhancement (wontfix)
add_menu_page() improvement
| Reported by: | Denis-de-Bernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.7.1 |
| Severity: | minor | Keywords: | has-patch tested |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I think the menu looks too busy with the separators. I like all plugin-added top-levels being in a menu group together. I'll get some feedback from the design folks.