[wp-trac] [WordPress Trac] #33177: Persist expanded states for submenus in Twenty Fifteen when customizing menus
WordPress Trac
noreply at wordpress.org
Wed Jul 29 17:51:06 UTC 2015
#33177: Persist expanded states for submenus in Twenty Fifteen when customizing
menus
--------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: low | Milestone: 4.3
Component: Themes | Version: trunk
Severity: minor | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+--------------------------
Comment (by westonruter):
In [attachment:33177.diff]:
* Improve naming of param from `wpNavArgs` to `wpNavMenuArgs` for
`customize-preview-menu-refreshed` event params.
* Re-sync expanded states from menu container being replaced
* Prevents main navigation from being re-initialized multiple times when
editing a separate menu assigned to Social Links Menu, causing a toggle
button to be newly inserted with each social menu change. See [attachment
:duplicated-toggle-buttons.png].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33177#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list