Go to file
Weston Ruter 2a8973f117 Customizer: Remove additional wrapper element around `wp_nav_menu()` which broke some theme designs.
Also includes these related changes:
* Export `oldContainer` and `newContainer` among the `customize-preview-menu-refreshed` event params for themes to be able to more easily re-initialize the DOM elements.
* Improve performance for partial refresh by only sending settings related to the menu being previewed.
* Fix previewing of menu assigned to Custom Menu by exporting a menu `term_id` as opposed to an object, as the former is more stable for comparing in in args hashes.
* Do full refresh of preview when nav menu unassigned so that the layout can be updated.
* Harden conditions for when partial refresh is eligible for a `wp_nav_menu()` instance.

Fixes #32841.


git-svn-id: https://develop.svn.wordpress.org/trunk@33138 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 21:29:53 +00:00
src Customizer: Remove additional wrapper element around `wp_nav_menu()` which broke some theme designs. 2015-07-08 21:29:53 +00:00
tests Customizer: Remove additional wrapper element around `wp_nav_menu()` which broke some theme designs. 2015-07-08 21:29:53 +00:00
tools/i18n Deprecate php4 style constructors 2015-06-28 15:26:41 +00:00
.editorconfig Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:28:58 +00:00
.gitignore Ignore `.DS_Store` files. 2015-03-13 18:11:33 +00:00
.jshintrc Update `grunt-contrib-jshint` to `0.11.0` 2015-03-06 21:07:35 +00:00
.travis.yml Run unit tests on Travis CI with php nightlies 2015-02-26 17:49:13 +00:00
Gruntfile.js Remove grunt-autoprefixer in favor of grunt-postcss with autoprefixer 2015-07-08 19:53:22 +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 Exclude external-http tests when running `phpunit`. 2014-11-10 14:48:28 +00:00
wp-cli.yml Introduce default `wp-cli.yml` for core development. 2014-04-30 21:35:18 +00:00
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 Update wp-tests-config-sample.php to run with WP_DEBUG by default. see #25282. 2013-09-23 16:17:59 +00:00