Make WordPress Core


Ignore:
Timestamp:
10/17/2022 06:08:24 PM (4 years ago)
Author:
desrosj
Message:

Editor: Bump @wordpress packages for 5.9.5.

Package updates for bug fixes:

  • @wordpress/block-directory: 3.0.30
  • @wordpress/block-library: 6.0.29
  • @wordpress/customize-widgets: 2.0.30
  • @wordpress/edit-post: 5.0.30
  • @wordpress/edit-site: 3.0.30
  • @wordpress/edit-widgets: 3.1.25
  • @wordpress/widgets: 2.0.25
File:
1 edited

Legend:

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

    r52277 r54564  
    4747        if ( isset( $attributes['instance']['encoded'], $attributes['instance']['hash'] ) ) {
    4848                $serialized_instance = base64_decode( $attributes['instance']['encoded'] );
    49                 if ( wp_hash( $serialized_instance ) !== $attributes['instance']['hash'] ) {
     49                if ( ! hash_equals( wp_hash( $serialized_instance ), (string) $attributes['instance']['hash'] ) ) {
    5050                        return '';
    5151                }
Note: See TracChangeset for help on using the changeset viewer.