[wp-trac] [WordPress Trac] #22991: nav-menu tabs turn into a select when there are too many menus
WordPress Trac
noreply at wordpress.org
Tue Dec 18 15:07:27 UTC 2012
#22991: nav-menu tabs turn into a select when there are too many menus
------------------------------------+-------------------------
Reporter: Sverigedemokraterna IT | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Menus
Version: | Severity: normal
Keywords: |
------------------------------------+-------------------------
The menu editor tab bar isn't a very effective way to select menus if you
have, say, 10 or 20 menus or so. This patch changes the tab bar to a
select + button in a form.
Things to note:
* The define (5) is arbitrary and can perhaps be placed elsewhere.
* Using a GET was the smartest way of selecting another menu, while at the
same time remaining accessibility-friendly.
* Using the GET causes the button to end up on the address bar also. This
could have been avoided if the submit button could have the button text
and the value separately (perfect value is "edit"), but that's HTML for
you.
* I'm unsure of correct CSS styling.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22991>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list