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. Built from https://develop.svn.wordpress.org/trunk@45644 git-svn-id: http://core.svn.wordpress.org/trunk@45455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
62216de5d4
commit
6f2fe4da8f
|
@ -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 ] ) ) {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45643';
|
||||
$wp_version = '5.3-alpha-45644';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue