WordPress/wp-includes/js
Weston Ruter 1c2324f834 Customize: Update server-sent setting validation notifications as changes are entered.
Send back setting validities with full refreshes and selective refreshes so that invalid settings can have notifications displayed immediately before attempting save, and so that these notifications can be cleared as soon as the input is corrected.

* Splits out JS logic for listing controls into separate methods  `wp.customize.Setting.prototype.findControls()` and `wp.customize.findControlsForSettings()`.
* Adds a `setting` property to the `data` on notifications added to controls that are synced from their settings.
* Adds `selective-refresh-setting-validities` message sent from preview to pane.
* Changes `WP_Customize_Manager::validate_setting_values()` to return when settings are valid as well as invalid.
* Adds `WP_Customize_Manager::prepare_setting_validity_for_js()`.
* Add setting validities to data exported to JS in Customizer Preview and in selective refresh responses.

Fixes #36944.

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


git-svn-id: http://core.svn.wordpress.org/trunk@37666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-14 19:17:28 +00:00
..
crop
imgareaselect
jcrop
jquery External Libraries: Update jQuery to 1.12.4. 2016-05-23 09:00:29 +00:00
mediaelement External Libraries: Update MediaElement.js from upstream. 2016-05-06 17:51:36 +00:00
plupload External Libraries: Update plupload from upstream 2016-05-06 18:02:26 +00:00
swfupload
thickbox Accessibility: the Thickbox "Close" control should always be a button. 2016-05-23 10:30:29 +00:00
tinymce TinyMCE: wptextpattern: fix for fast typing 2016-06-09 19:07:28 +00:00
admin-bar.js
admin-bar.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
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 Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
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: Add setting validation model and control notifications to augment setting sanitization. 2016-05-20 21:10:27 +00:00
customize-base.min.js Customize: Add setting validation model and control notifications to augment setting sanitization. 2016-05-20 21:10:27 +00:00
customize-loader.js Customize: Don't auto-close the customizer when a new theme is activated. 2016-05-01 19:54:27 +00:00
customize-loader.min.js Customize: Don't auto-close the customizer when a new theme is activated. 2016-05-01 19:54:27 +00:00
customize-models.js
customize-models.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
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: Remove format placeholders from widget templates and selectors, fixing a jQuery selector syntax error and the broken highlight/shift-click behaviors. 2016-04-28 18:20:29 +00:00
customize-preview-widgets.min.js Customize: Remove format placeholders from widget templates and selectors, fixing a jQuery selector syntax error and the broken highlight/shift-click behaviors. 2016-04-28 18:20:29 +00:00
customize-preview.js Customize: Update server-sent setting validation notifications as changes are entered. 2016-06-14 19:17:28 +00:00
customize-preview.min.js Customize: Update server-sent setting validation notifications as changes are entered. 2016-06-14 19:17:28 +00:00
customize-selective-refresh.js Customize: Update server-sent setting validation notifications as changes are entered. 2016-06-14 19:17:28 +00:00
customize-selective-refresh.min.js Customize: Update server-sent setting validation notifications as changes are entered. 2016-06-14 19:17: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
json2.min.js
masonry.min.js
mce-view.js TinyMCE: use new non-editable implementation 2016-05-17 18:49:30 +00:00
mce-view.min.js TinyMCE: use new non-editable implementation 2016-05-17 18:49:30 +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 Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
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 Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
media-models.js
media-models.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
media-views.js Media: Fix rendering of incorrect toolbar in the Edit view. 2016-06-10 21:12:29 +00:00
media-views.min.js Media: Fix rendering of incorrect toolbar in the Edit view. 2016-06-10 21:12:29 +00:00
quicktags.js Editor quickTags: when the user selects some text by triple-clicking, then wraps it in a tag, and the last selected char is \n, insert the closing tag before the line break. 2016-06-09 00:25:27 +00:00
quicktags.min.js Editor quickTags: when the user selects some text by triple-clicking, then wraps it in a tag, and the last selected char is \n, insert the closing tag before the line break. 2016-06-09 00:25:27 +00:00
shortcode.js
shortcode.min.js
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Add grunt prerelease task 2016-03-10 05:37:27 +00:00
twemoji.min.js Add grunt prerelease task 2016-03-10 05:37: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 Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +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: The diversity support test was incorrectly passing on all browsers. 2016-04-20 13:56:28 +00:00
wp-emoji-loader.min.js Emoji: The diversity support test was incorrectly passing on all browsers. 2016-04-20 13:56:28 +00:00
wp-emoji-release.min.js Emoji: Use SVG in supported browsers 2016-05-20 06:03:27 +00:00
wp-emoji.js Emoji: Use SVG in supported browsers 2016-05-20 06:03:27 +00:00
wp-emoji.min.js Emoji: Use SVG in supported browsers 2016-05-20 06:03:27 +00:00
wp-list-revisions.js
wp-list-revisions.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
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 Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
wp-pointer.js
wp-pointer.min.js
wp-util.js Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
wp-util.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
wpdialog.js
wpdialog.min.js
wplink.js Editor: do not use the modal-open class to determine when the wpLink modal is open. This is a class used in Bootstrap and may be present when wpLink is not open. Store the open/closed state instead. 2016-06-02 23:58:28 +00:00
wplink.min.js Editor: do not use the modal-open class to determine when the wpLink modal is open. This is a class used in Bootstrap and may be present when wpLink is not open. Store the open/closed state instead. 2016-06-02 23:58:28 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js