Customize: Revert [43611] from the 4.9 branch.

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

See #44770.

git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43701 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-10-11 03:47:44 +00:00
parent d296dc89f5
commit 58fbc2a852

View File

@ -1953,7 +1953,7 @@ final class WP_Customize_Widgets {
$value = $this->_captured_options[ $option_name ];
/** This filter is documented in wp-includes/option.php */
$value = apply_filters( 'option_' . $option_name, $value, $option_name );
$value = apply_filters( 'option_' . $option_name, $value );
}
return $value;