Customize: In WP_Customize_Widgets::capture_filter_pre_update_option()
, return the filtered value instead of null
when bailing early for ignored options.
Props dlh. Fixes #47715. git-svn-id: https://develop.svn.wordpress.org/trunk@45644 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
09fc7ba6ae
commit
98a2971872
@ -1971,7 +1971,7 @@ final class WP_Customize_Widgets {
|
||||
*/
|
||||
public function capture_filter_pre_update_option( $new_value, $option_name, $old_value ) {
|
||||
if ( $this->is_option_capture_ignored( $option_name ) ) {
|
||||
return;
|
||||
return $new_value;
|
||||
}
|
||||
|
||||
if ( ! isset( $this->_captured_options[ $option_name ] ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user