Wordpress/tests/qunit
Weston Ruter f26ccf6fac 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@37700 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-14 19:16:54 +00:00
..
editor TinyMCE: update to 4.3.8, changelog: https://www.tinymce.com/docs/changelog/#version438-march152016. 2016-03-15 21:37:22 +00:00
fixtures Customize: Add setting validation model and control notifications to augment setting sanitization. 2016-05-20 21:09:40 +00:00
vendor Customizer: Add QUnit tests for menus. 2015-08-03 19:27:27 +00:00
wp-admin/js Customize: Update server-sent setting validation notifications as changes are entered. 2016-06-14 19:16:54 +00:00
wp-includes/js TinyMCE: wptextpattern: fix for fast typing 2016-06-09 19:06:25 +00:00
.jshintrc Various JSHint fixes. see #26446. 2014-02-08 00:51:14 +00:00
index.html Customize: Add setting validation model and control notifications to augment setting sanitization. 2016-05-20 21:09:40 +00:00