~canonical-sysadmins/wordpress/4.7

« back to all changes in this revision

Viewing changes to wp-includes/class-wp-customize-widgets.php

  • Committer: Ryan Finnie
  • Date: 2015-08-31 16:03:58 UTC
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: ryan.finnie@canonical.com-20150831160358-32iuabgkh61u3sme
new upstream release 4.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1124
1124
                        return null;
1125
1125
                }
1126
1126
 
1127
 
                if ( $this->get_instance_hash_key( $decoded ) !== $value['instance_hash_key'] ) {
 
1127
                if ( ! hash_equals( $this->get_instance_hash_key( $decoded ), $value['instance_hash_key'] ) ) {
1128
1128
                        return null;
1129
1129
                }
1130
1130