diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index ad5742fabe..3871ff3b73 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -1199,7 +1199,7 @@ final class WP_Customize_Widgets { return null; } - if ( $this->get_instance_hash_key( $decoded ) !== $value['instance_hash_key'] ) { + if ( ! hash_equals( $this->get_instance_hash_key( $decoded ), $value['instance_hash_key'] ) ) { return null; }