diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index 73e2a7843d..ccef22ee3a 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -1138,8 +1138,7 @@ final class WP_Customize_Widgets { * @return string Widget instance's hash key. */ protected function get_instance_hash_key( $instance ) { - $hash = md5( AUTH_KEY . serialize( $instance ) ); - return $hash; + return wp_hash( serialize( $instance ) ); } /**