mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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 ] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user