WordPress 4.2.4
[autoinstalls/wordpress.git] / wp-includes / class-wp-customize-widgets.php
index 1a87581ebe6b90f7590d8f7b3905e565f7f455d1..728bb5f04b12bec14ef85ab55d5525033fb81cd0 100644 (file)
@@ -1124,7 +1124,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;
                }