Customize: Pass missing parameter to dynamic option_{$option}
filter in WP_Customize_Widgets::capture_filter_pre_get_option()
.
Props dlh. Fixes #44770. git-svn-id: https://develop.svn.wordpress.org/trunk@43561 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7e879f48f1
commit
28a6760634
@ -1981,7 +1981,7 @@ final class WP_Customize_Widgets {
|
|||||||
$value = $this->_captured_options[ $option_name ];
|
$value = $this->_captured_options[ $option_name ];
|
||||||
|
|
||||||
/** This filter is documented in wp-includes/option.php */
|
/** This filter is documented in wp-includes/option.php */
|
||||||
$value = apply_filters( 'option_' . $option_name, $value );
|
$value = apply_filters( 'option_' . $option_name, $value, $option_name );
|
||||||
}
|
}
|
||||||
|
|
||||||
return $value;
|
return $value;
|
||||||
|
Loading…
Reference in New Issue
Block a user