Make WordPress Core

Changeset 33535


Ignore:
Timestamp:
08/03/2015 08:56:56 PM (9 years ago)
Author:
ocean90
Message:

Customizer: Use hash_equals() for widgets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r33488 r33535  
    11691169        }
    11701170
    1171         if ( $this->get_instance_hash_key( $decoded ) !== $value['instance_hash_key'] ) {
     1171        if ( ! hash_equals( $this->get_instance_hash_key( $decoded ), $value['instance_hash_key'] ) ) {
    11721172            return;
    11731173        }
Note: See TracChangeset for help on using the changeset viewer.