Skip to content
Permalink
Browse files

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.

git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43702 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Oct 11, 2018
1 parent 58fbc2a commit 0243b1ce5724a3a4851d3aee46e53646dc9eaf94
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wp-includes/class-wp-customize-manager.php
@@ -2284,7 +2284,7 @@ public function validate_setting_values( $setting_values, $options = array() ) {
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;
}
}

0 comments on commit 0243b1c

Please sign in to comment.
You can’t perform that action at this time.