WordPress/wp-includes/customize
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
..
class-wp-customize-background-image-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-background-image-setting.php
class-wp-customize-color-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-cropped-image-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-filter-setting.php Docs: Add a missing summary, @access tag, and parameter documentation to the DocBlock for WP_Customize_Filter_Setting::update(). 2016-02-27 21:17:25 +00:00
class-wp-customize-header-image-control.php Customize: Clean up media control CSS. 2016-05-12 20:23:54 +00:00
class-wp-customize-header-image-setting.php
class-wp-customize-image-control.php Customize: Allow button_labels to be overridden in $args passed to WP_Customize_Media_Control and WP_Customize_Image_Control. 2016-02-29 00:40:26 +00:00
class-wp-customize-media-control.php Customize: Clean up media control CSS. 2016-05-12 20:23:54 +00:00
class-wp-customize-nav-menu-auto-add-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-nav-menu-control.php Customizer: Use correct context and translator comments for menu location strings. 2015-11-20 17:46:25 +00:00
class-wp-customize-nav-menu-item-control.php Customize: Fix toggle of title attribute field visibility on nav menus admin page. 2016-03-30 21:55:27 +00:00
class-wp-customize-nav-menu-item-setting.php Docs: Apply inline @see tags to hooks referenced in DocBlocks for core classes. 2016-05-23 18:54:27 +00:00
class-wp-customize-nav-menu-location-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-nav-menu-name-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-nav-menu-section.php
class-wp-customize-nav-menu-setting.php Docs: Apply inline @see tags to hooks referenced in DocBlocks for core classes. 2016-05-23 18:54:27 +00:00
class-wp-customize-nav-menus-panel.php Customize: Fix persistence of toggles for displayed nav menu item properties. 2016-03-09 21:41:28 +00:00
class-wp-customize-new-menu-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-new-menu-section.php
class-wp-customize-partial.php Docs: Standardize the file header and class summaries for the file containing WP_Customize_Partial, introduced in [36586]. 2016-03-16 16:24:27 +00:00
class-wp-customize-selective-refresh.php Customize: Update server-sent setting validation notifications as changes are entered. 2016-06-14 19:17:28 +00:00
class-wp-customize-sidebar-section.php
class-wp-customize-site-icon-control.php Customize: Change attachment condition in the site icon control to prevent errors. 2016-05-17 20:39:30 +00:00
class-wp-customize-theme-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-themes-section.php Customize: Ensure that "Change" button appears when there are only 2 themes. 2015-12-15 01:21:26 +00:00
class-wp-customize-upload-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-widget-area-customize-control.php Buttons: Standardize on .button-link for link-like buttons. 2015-11-13 15:47:27 +00:00
class-wp-widget-form-customize-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00