Go to file
Weston Ruter dbcb95c022 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@33488 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 16:02:08 +00:00
src Customizer: Ensure that all existing menus are shown in the Custom Menu widget's dropdown. 2015-07-29 16:02:08 +00:00
tests Customizer: Ensure that all existing menus are shown in the Custom Menu widget's dropdown. 2015-07-29 16:02:08 +00:00
tools/i18n i18n tools: Use https for `msgid-bugs-address` URLs. 2015-07-27 19:37:13 +00:00
.editorconfig
.gitignore
.jshintrc
.travis.yml Switch explicitly from `nightly` to `7.0` for Travis, for clarity. 2015-07-27 15:15:34 +00:00
Gruntfile.js Editor: word count: exclude more characters 2015-07-16 09:44:43 +00:00
package.json Remove grunt-autoprefixer in favor of grunt-postcss with autoprefixer 2015-07-08 19:53:22 +00:00
phpunit.xml.dist
wp-cli.yml
wp-config-sample.php Lightly clean up and improve inline documentation in wp-config-sample.php. 2015-05-10 00:05:30 +00:00
wp-tests-config-sample.php