[wp-trac] [WordPress Trac] #23450: Refactor menu item meta boxes as accordion
WordPress Trac
noreply at wordpress.org
Thu Mar 14 23:35:48 UTC 2013
#23450: Refactor menu item meta boxes as accordion
-----------------------------------------------+--------------------
Reporter: lessbloat | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Menus | Version: trunk
Severity: normal | Resolution:
Keywords: 3.6-menus needs-testing has-patch |
-----------------------------------------------+--------------------
Comment (by DrewAPicture):
[attachment:23450.12.diff] removes the unecessary `add|remove_meta_box()`
accordion wrappers and renames `do_menu_accordion_sections()` to just
`do_accordion_sections()`.
The idea is that `do_accordion_sections()` could be used to turn any group
of meta boxes into an accordion in the spirit of abstracting the accordion
code away from the Customizer in #23449 in the first place.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23450#comment:33>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list