[wp-trac] [WordPress Trac] #32814: Custom Menu Widget should show newly added menus in Customizer
WordPress Trac
noreply at wordpress.org
Wed Jul 29 16:02:10 UTC 2015
#32814: Custom Menu Widget should show newly added menus in Customizer
------------------------------+--------------------------
Reporter: adamsilverstein | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: high | Milestone: 4.3
Component: Customize | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: javascript
------------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"33488"]:
{{{
#!CommitTicketReference repository="" revision="33488"
Customizer: Ensure that all existing menus are shown in the Custom Menu
widget's dropdown.
* Ensure that a Custom Menu widget selecting a newly-inserted menu gets
updated to use the new menu ID upon Save & Publish.
* Dynamically update the visibility of the Custom Menu widget's "no menus"
message when the number of menus changes between 0 and 1+.
* Send all dirty Customized settings in `update-widget` Ajax request and
`preview()` them so that the widget update/form callbacks have access to
any data dependencies in the current Customizer session (such as newly
created unsaved menus).
* Update link in Custom Menu widget to point to Menus panel as opposed to
Menus admin page, when in the Customizer.
* Fix an issue with extra space at top immediately after creating new
menu.
* Fix doubled `update-widget` Ajax requests when changing select dropdown;
prevent initial from being aborted.
* Add missing `wp_get_nav_menus()` hooks to preview Customizer
updates/inserts for `nav_menu` settings; includes tests.
* Update `wp_get_nav_menu_object()` to allow a menu object to be passed in
(and thus passed through).
Props westonruter, adamsilverstein.
Fixes #32814.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32814#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list