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
This commit is contained in:
Dominik Schilling 2015-08-04 04:51:50 +00:00
parent a3e45db4ac
commit 86823a6675
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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.