[wp-trac] [WordPress Trac] #32633: Allow the sortable items selector in wpNavMenu to be overridden
WordPress Trac
noreply at wordpress.org
Sat Jun 13 00:14:45 UTC 2015
#32633: Allow the sortable items selector in wpNavMenu to be overridden
-------------------------+-----------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.3
Component: Menus | Version: 3.0
Severity: normal | Keywords: has-patch
Focuses: javascript |
-------------------------+-----------------------
For Menu Customizer (#32576) we are trying to re-use as much of `nav-
menu.js` as possible. However, there is a problem in `wpNavMenu` uses an
overly-generic selector `> *` for the sortable items. We need to allow
this to be overriddable in the Customizer to be `.customize-control-
nav_menu_item`, but `nav-menu.js` doesn't currently expose the selector
via its `options` property. This needs to change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32633>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list