Customize: Revert [43619] from the 4.9 branch.

This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #44809.
Built from https://develop.svn.wordpress.org/branches/4.9@43702


git-svn-id: http://core.svn.wordpress.org/branches/4.9@43531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-10-11 03:53:26 +00:00
parent 6c98f19ad2
commit 639b5f6ed8
2 changed files with 2 additions and 2 deletions

View File

@ -2284,7 +2284,7 @@ final class WP_Customize_Manager {
if ( ! is_wp_error( $validity ) ) {
/** This filter is documented in wp-includes/class-wp-customize-setting.php */
$late_validity = apply_filters( "customize_validate_{$setting->id}", new WP_Error(), $unsanitized_value, $setting );
if ( is_wp_error( $late_validity ) && ! empty( $late_validity->errors ) ) {
if ( ! empty( $late_validity->errors ) ) {
$validity = $late_validity;
}
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9.9-alpha-43701';
$wp_version = '4.9.9-alpha-43702';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.