From 86823a6675f10f588144057fbc0e549ea5fa33ee Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Tue, 4 Aug 2015 04:51:50 +0000 Subject: [PATCH] Customizer: Use `hash_equals()` for widgets. Built from https://develop.svn.wordpress.org/trunk@33535 git-svn-id: http://core.svn.wordpress.org/trunk@33502 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-widgets.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index 775e8bbe7f..8569228e46 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -1168,7 +1168,7 @@ final class WP_Customize_Widgets { return; } - 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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index e25dc22914..a169c5217b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-RC1-33528'; +$wp_version = '4.3-RC1-33535'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.