Make WordPress Core


Ignore:
Timestamp:
10/17/2022 04:22:04 PM (2 years ago)
Author:
desrosj
Message:

Editor: Bump @wordpress packages for 6.0.3.

Package updates for bug fixes:

  • @wordpress/block-directory: 3.4.15
  • @wordpress/block-library: 7.3.15
  • @wordpress/customize-widgets: 3.3.15
  • @wordpress/edit-post: 6.3.15
  • @wordpress/edit-site: 4.3.15
  • @wordpress/edit-widgets: 4.3.15
  • @wordpress/widgets: 2.4.11
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0/src/wp-includes/blocks/legacy-widget.php

    r53157 r54543  
    3535    if ( isset( $attributes['instance']['encoded'], $attributes['instance']['hash'] ) ) {
    3636        $serialized_instance = base64_decode( $attributes['instance']['encoded'] );
    37         if ( wp_hash( $serialized_instance ) !== $attributes['instance']['hash'] ) {
     37        if ( ! hash_equals( wp_hash( $serialized_instance ), (string) $attributes['instance']['hash'] ) ) {
    3838            return '';
    3939        }
Note: See TracChangeset for help on using the changeset viewer.