Opened 4 years ago
Closed 4 years ago
#9414 closed enhancement (wontfix)
add_menu_page() improvement
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.7.1 |
| Severity: | minor | Keywords: | has-patch tested |
| Cc: |
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)
Denis-de-Bernardy — 4 years ago
- Keywords has-patch tested commit added
- close as wontfix if someone reads this in 3 months, then. :-)
for what it's worth though, I initially came up into this one when designing my membership manager plugin. it has 6+ submenus and counting. so the separator was more or less in order.
- Keywords commit removed
- Milestone 2.8 deleted
- Resolution set to wontfix
- Status changed from new to closed

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.