Make WordPress Core

Changeset 29028


Ignore:
Timestamp:
07/08/2014 05:16:26 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Use wp_hash() instead of AUTH_KEY in WP_Customize_Widgets::get_instance_hash_key().

props juliobox.
fixes #28783.

File:
1 edited

Legend:

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

    r28861 r29028  
    11391139     */
    11401140    protected function get_instance_hash_key( $instance ) {
    1141         $hash = md5( AUTH_KEY . serialize( $instance ) );
    1142         return $hash;
     1141        return wp_hash( serialize( $instance ) );
    11431142    }
    11441143
Note: See TracChangeset for help on using the changeset viewer.