Make WordPress Core

Ticket #28783: 28783-2.patch

File 28783-2.patch, 474 bytes (added by juliobox, 12 years ago)
  • class-wp-customize-widgets.php

     
    11381138         * @return string Widget instance's hash key.
    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
    11451144        /**