WordPress/wp-includes/js
Weston Ruter e11fd98ec6 Customize: Fix regressions and harden implementation of selective refresh for nav menus.
* Request full refresh if there are nav menu instances that lack partials for a changed setting.
* Restore `WP_Customize_Nav_Menus::$preview_nav_menu_instance_args` and `WP_Customize_Nav_Menus::export_preview_data()` from 4.3, and keeping a tally of all `wp_nav_menu()` calls regardless of whether they can use selective refresh.
* Ensure that all instances of `wp_nav_menu()` are tallied, regardless of whether they are made during the initial preview call or during subsequent partial renderings. Export `nav_menu_instance_args` with each partial rendering response just as they are returned when rendering the preview as a whole.
* Fix issues with Custom Menu widget where nav menu items would fail to render when switching between menus when a menu lacked items to begin with.
* Make sure the fallback behavior is invoked when the partial is no longer associated with a menu.
* Do fallback behavior to refresh preview when all menu items are removed from a menu.

Follows [36586].
See #27355.
Fixes #35362.

Built from https://develop.svn.wordpress.org/trunk@36889


git-svn-id: http://core.svn.wordpress.org/trunk@36856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 00:09:26 +00:00
..
crop
imgareaselect
jcrop
jquery External Libraries: Update jQuery to 1.12.1. 2016-02-24 15:44:26 +00:00
mediaelement Media: JSHint for wp-playlist.js. 2016-02-29 21:50:27 +00:00
plupload Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective). 2016-02-25 12:53:27 +00:00
swfupload
thickbox Thickbox: spinner should disappear when loading is done. 2015-10-28 18:19:26 +00:00
tinymce TinyMCE: then toggling the paste in plain text mode disable the warning message after the second time. 2016-03-02 22:10:27 +00:00
admin-bar.js
admin-bar.min.js
autosave.js Admin: fix repositioning of notices when the first header is not an immediate children of .wrap. 2015-12-31 11:05:31 +00:00
autosave.min.js Admin: fix repositioning of notices when the first header is not an immediate children of .wrap. 2015-12-31 11:05:31 +00:00
backbone.min.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
colorpicker.js
colorpicker.min.js
comment-reply.js Comments: after [35593], extend support to IE8 and improve checking for elements hidden with CSS 2015-11-18 19:15:28 +00:00
comment-reply.min.js Comments: after [35593], extend support to IE8 and improve checking for elements hidden with CSS 2015-11-18 19:15:28 +00:00
customize-base.js Customize: Prevent consecutive refresh requests from preview from causing JS error. 2016-02-19 03:47:27 +00:00
customize-base.min.js Customize: Prevent consecutive refresh requests from preview from causing JS error. 2016-02-19 03:47:27 +00:00
customize-loader.js
customize-loader.min.js
customize-models.js
customize-models.min.js
customize-preview-nav-menus.js Customize: Fix regressions and harden implementation of selective refresh for nav menus. 2016-03-09 00:09:26 +00:00
customize-preview-nav-menus.min.js Customize: Fix regressions and harden implementation of selective refresh for nav menus. 2016-03-09 00:09:26 +00:00
customize-preview-widgets.js Customize: Add selective refresh framework with implementation for widgets and re-implementation for nav menus. 2016-02-19 18:41:28 +00:00
customize-preview-widgets.min.js Customize: Add selective refresh framework with implementation for widgets and re-implementation for nav menus. 2016-02-19 18:41:28 +00:00
customize-preview.js Customize: Eliminate unnecessary WP_Customize_Site_Logo_Control in favor of re-using WP_Customize_Image_Control. 2016-03-04 23:47:26 +00:00
customize-preview.min.js Customize: Eliminate unnecessary WP_Customize_Site_Logo_Control in favor of re-using WP_Customize_Image_Control. 2016-03-04 23:47:26 +00:00
customize-selective-refresh.js Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective). 2016-02-25 12:53:27 +00:00
customize-selective-refresh.min.js Customize: Add selective refresh framework with implementation for widgets and re-implementation for nav menus. 2016-02-19 18:41:28 +00:00
customize-views.js Customizer: Contain "No image set/selected" in dashed border. 2016-02-23 17:27:26 +00:00
customize-views.min.js Customizer: Contain "No image set/selected" in dashed border. 2016-02-23 17:27:26 +00:00
heartbeat.js Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective). 2016-02-25 12:53:27 +00:00
heartbeat.min.js
hoverIntent.js
hoverIntent.min.js
json2.js External Libraries: update json2.js to the 2015-05-03 version. Crockford does not tag releases: https://github.com/douglascrockford/JSON-js/commits/master 2015-10-06 14:02:25 +00:00
json2.min.js External Libraries: update json2.js to the 2015-05-03 version. Crockford does not tag releases: https://github.com/douglascrockford/JSON-js/commits/master 2015-10-06 14:02:25 +00:00
masonry.min.js
mce-view.js TinyMCE: 2015-10-21 20:38:26 +00:00
mce-view.min.js TinyMCE: 2015-10-21 20:38:26 +00:00
media-audiovideo.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
media-audiovideo.min.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
media-editor.js
media-editor.min.js
media-grid.js Media: Fix broken delete/trash functionality in the library after [36546]. 2016-02-24 16:03:26 +00:00
media-grid.min.js Media: Fix broken delete/trash functionality in the library after [36546]. 2016-02-24 16:03:26 +00:00
media-models.js
media-models.min.js
media-views.js Customize: Fix image cropping when doing live preview of theme switches. 2016-03-06 01:45:27 +00:00
media-views.min.js Customize: Fix image cropping when doing live preview of theme switches. 2016-03-06 01:45:27 +00:00
quicktags.js
quicktags.min.js
shortcode.js Abstract the shortcode attribute parsing regex into its own function, update the JavaScript counterpart, and introduce a test to ensure they do not diverge again. 2015-10-08 03:12:24 +00:00
shortcode.min.js Abstract the shortcode attribute parsing regex into its own function, update the JavaScript counterpart, and introduce a test to ensure they do not diverge again. 2015-10-08 03:12:24 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Emoji: Update emoji support to Unicode 8.0, including the Diversity set. 2015-12-31 01:30:27 +00:00
twemoji.min.js Emoji: Update emoji support to Unicode 8.0, including the Diversity set. 2015-12-31 01:30:27 +00:00
underscore.min.js Update Backbone and Underscore to the latest versions. 2016-02-17 15:22:26 +00:00
utils.js
utils.min.js
wp-a11y.js
wp-a11y.min.js
wp-ajax-response.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
wp-ajax-response.min.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
wp-auth-check.js jQuery: Replace use of the .load() method for the "load" event with .on( 'load', handler ). 2016-01-13 17:22:27 +00:00
wp-auth-check.min.js jQuery: Replace use of the .load() method for the "load" event with .on( 'load', handler ). 2016-01-13 17:22:27 +00:00
wp-backbone.js In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions. 2016-01-15 04:02:28 +00:00
wp-backbone.min.js In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions. 2016-01-15 04:02:28 +00:00
wp-embed-template.js Embeds: Make the click event handler work for dynamically added links. 2016-02-23 17:16:26 +00:00
wp-embed-template.min.js Embeds: Make the click event handler work for dynamically added links. 2016-02-23 17:16:26 +00:00
wp-embed.js Embeds: Use a more accessible way to initially hide the iframe. 2016-02-25 10:23:27 +00:00
wp-embed.min.js Embeds: Use a more accessible way to initially hide the iframe. 2016-02-25 10:23:27 +00:00
wp-emoji-loader.js Emoji: Clean up the emoji browser support tests. 2016-03-03 05:17:26 +00:00
wp-emoji-loader.min.js Emoji: Clean up the emoji browser support tests. 2016-03-03 05:17:26 +00:00
wp-emoji-release.min.js Emoji: Add some extra IE11 compatibility. 2016-03-03 05:21:26 +00:00
wp-emoji.js Emoji: Fix some jshint warnings introduced in [36816]. 2016-03-03 05:48:25 +00:00
wp-emoji.min.js Emoji: Add some extra IE11 compatibility. 2016-03-03 05:21:26 +00:00
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
wp-lists.min.js jQuery: Replace the use of the .size() method with the .length property. 2016-01-13 16:17:27 +00:00
wp-pointer.js
wp-pointer.min.js
wp-util.js
wp-util.min.js
wpdialog.js
wpdialog.min.js
wplink.js TinyMCE, inline link: 2016-03-02 20:06:26 +00:00
wplink.min.js TinyMCE, inline link: 2016-03-02 20:06:26 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js