Make WordPress Core


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

Editor: Bump @wordpress packages for 5.8.6.

Package updates for bug fixes:

  • @wordpress/block-directory: 2.1.23
  • @wordpress/block-library: 3.2.21
  • @wordpress/customize-widgets: 1.0.22
  • @wordpress/edit-post: 4.1.23
  • @wordpress/edit-widgets: 2.1.23
  • @wordpress/widgets: 1.1.21
File:
1 edited

Legend:

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

    r51422 r54565  
    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.