[wp-trac] [WordPress Trac] #32800: Customizer Menus: Creating/saving a new menu creates duplicate menus in Custom Menu widget select
WordPress Trac
noreply at wordpress.org
Sun Jun 28 13:30:01 UTC 2015
#32800: Customizer Menus: Creating/saving a new menu creates duplicate menus in
Custom Menu widget select
------------------------------+-------------------------
Reporter: tywayne | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: javascript
------------------------------+-------------------------
Changes (by adamsilverstein):
* keywords: needs-patch => has-patch commit
Comment:
In [attachment:32800.diff]:
* Remove a single line that is inserting the duplicate options into the
widget template - this fixes the issue mentioned on the ticket
* This patch is ready to go and can be committed.
[attachment:32800.2.diff] is an incomplete attempt to insert newly created
menus to the custom menu widget template on the fly. With this patch, if
you a new menu (without saving), then switch to the widgets and insert the
custom menu widget, the new menu will be available in the dropdown.
However, the menu id is the placeholderId, and needs updating during
save/publish. Since this a different issue, we can probably commit
32800.diff and create a new ticket to address this issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32800#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list