Make WordPress Core

Changeset 54543


Ignore:
Timestamp:
10/17/2022 04:22:04 PM (14 months 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
Location:
branches/6.0
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0/package-lock.json

    r54035 r54543  
    39973997        },
    39983998        "@wordpress/block-directory": {
    3999             "version": "3.4.14",
    4000             "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.4.14.tgz",
    4001             "integrity": "sha512-IGvHEZ15Q3AdnulU2EoMlNbrf6rU+LJkLWObwdtMCUsge2r6xC2wQTpPveTNIIn4j7YgTm4B2EqkBi+ujvs7dw==",
     3999            "version": "3.4.15",
     4000            "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.4.15.tgz",
     4001            "integrity": "sha512-RLp1HoiwYdH5lLCJaI9zrfz8Nem/FOWi7MVv35LyLLgWO2XMcMPPxnJQYEyq6kYqG+dpO8pab5qUJNG/3FvU4Q==",
    40024002            "requires": {
    40034003                "@babel/runtime": "^7.16.0",
     
    40104010                "@wordpress/core-data": "^4.4.5",
    40114011                "@wordpress/data": "^6.6.1",
    4012                 "@wordpress/edit-post": "^6.3.14",
     4012                "@wordpress/edit-post": "^6.3.15",
    40134013                "@wordpress/editor": "^12.5.10",
    40144014                "@wordpress/element": "^4.4.1",
     
    40694069        },
    40704070        "@wordpress/block-library": {
    4071             "version": "7.3.14",
    4072             "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-7.3.14.tgz",
    4073             "integrity": "sha512-qo4xFrgj1HxyBmIKbpffss2bzW4v3XyUgw3GE3EhBgc7WikCFAuiOnutEaByGpjFIol+CkSK09ujqMWo+O7FXQ==",
     4071            "version": "7.3.15",
     4072            "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-7.3.15.tgz",
     4073            "integrity": "sha512-UWKplojrgZuXWPUWNL/Q9jYgelfnqMdAtOIltcCK+dq03f3jWymYIZbZQAcqmYjXkK2unXLG77Drp3mVZXnKeQ==",
    40744074            "requires": {
    40754075                "@babel/runtime": "^7.16.0",
     
    42424242        },
    42434243        "@wordpress/customize-widgets": {
    4244             "version": "3.3.14",
    4245             "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-3.3.14.tgz",
    4246             "integrity": "sha512-Y0PAWXiG6XVmTexqO/mKDI8b+9PnHwhY9NtfpWTdkFnahtQ0H42wMZtiewX9cKiCp5n6MSNQ6jZmUQUaZSoaWw==",
     4244            "version": "3.3.15",
     4245            "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-3.3.15.tgz",
     4246            "integrity": "sha512-yubgzsHGWjZwswzQnta8mYQD9vqKfC226/1cOtEUqCczVephax2D9GiQu/OEZ8gbZhjmq+fme4Ubtc5EUMjFnQ==",
    42474247            "requires": {
    42484248                "@babel/runtime": "^7.16.0",
    42494249                "@wordpress/block-editor": "^8.5.10",
    4250                 "@wordpress/block-library": "^7.3.14",
     4250                "@wordpress/block-library": "^7.3.15",
    42514251                "@wordpress/blocks": "^11.5.3",
    42524252                "@wordpress/components": "^19.8.5",
     
    42654265                "@wordpress/media-utils": "^3.4.1",
    42664266                "@wordpress/preferences": "^1.2.5",
    4267                 "@wordpress/widgets": "^2.4.10",
     4267                "@wordpress/widgets": "^2.4.11",
    42684268                "classnames": "^2.3.1",
    42694269                "lodash": "^4.17.21"
     
    43764376        },
    43774377        "@wordpress/edit-post": {
    4378             "version": "6.3.14",
    4379             "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-6.3.14.tgz",
    4380             "integrity": "sha512-d3x1qSMAF2zBKxFvi4xoq11pssaVqU8CDW3zTca+2/7rE8BtGw+zYryBb41VRZZQCx4CbZIwZBzKWGB4hJRGuQ==",
     4378            "version": "6.3.15",
     4379            "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-6.3.15.tgz",
     4380            "integrity": "sha512-u1ibxfjNZ/QBu6b+mDatvZYmdutcxUvmfTPrzJKHpD/Nt7kEAo/oWJsWZBkZp7jmNuE59Iod17pMh/Ygao3xmQ==",
    43814381            "requires": {
    43824382                "@babel/runtime": "^7.16.0",
     
    43844384                "@wordpress/api-fetch": "^6.3.1",
    43854385                "@wordpress/block-editor": "^8.5.10",
    4386                 "@wordpress/block-library": "^7.3.14",
     4386                "@wordpress/block-library": "^7.3.15",
    43874387                "@wordpress/blocks": "^11.5.3",
    43884388                "@wordpress/components": "^19.8.5",
     
    44134413        },
    44144414        "@wordpress/edit-site": {
    4415             "version": "4.3.14",
    4416             "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-4.3.14.tgz",
    4417             "integrity": "sha512-ylTAN0dkjNFM1xQi5p+EpojYv9q2ooJXiCytWHlS1ra735iEiJw5bS4RIjZl3q5xFdClWF0KkSmEqJEpywVeEQ==",
     4415            "version": "4.3.15",
     4416            "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-4.3.15.tgz",
     4417            "integrity": "sha512-TeyXmxLNnrR788zGHDj6KcO+CB5m+bV+JDg5TUsyF8Jy9ggxeK+NS2uB369ytyTqJX/G5HtX90bvGnz/lmJthQ==",
    44184418            "requires": {
    44194419                "@babel/runtime": "^7.16.0",
     
    44214421                "@wordpress/api-fetch": "^6.3.1",
    44224422                "@wordpress/block-editor": "^8.5.10",
    4423                 "@wordpress/block-library": "^7.3.14",
     4423                "@wordpress/block-library": "^7.3.15",
    44244424                "@wordpress/blocks": "^11.5.3",
    44254425                "@wordpress/components": "^19.8.5",
     
    44544454        },
    44554455        "@wordpress/edit-widgets": {
    4456             "version": "4.3.14",
    4457             "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-4.3.14.tgz",
    4458             "integrity": "sha512-MA33r+lk/74KwzeZVuaDgOM0FkbNEPmdBjn2J6j2lqSIZpWfLH5hVynz5KpSB4LE9YdvCmbGQhFF0ta6l7pD/A==",
     4456            "version": "4.3.15",
     4457            "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-4.3.15.tgz",
     4458            "integrity": "sha512-9WH5Dh7V5uChvTwsbwh8Gf2az3rCzTfL4XHw9TSrE0dhnKb7V+InttcdrUhbW1367U4+1lV1ZZnexFMeOkQb3Q==",
    44594459            "requires": {
    44604460                "@babel/runtime": "^7.16.0",
    44614461                "@wordpress/api-fetch": "^6.3.1",
    44624462                "@wordpress/block-editor": "^8.5.10",
    4463                 "@wordpress/block-library": "^7.3.14",
     4463                "@wordpress/block-library": "^7.3.15",
    44644464                "@wordpress/blocks": "^11.5.3",
    44654465                "@wordpress/components": "^19.8.5",
     
    44814481                "@wordpress/reusable-blocks": "^3.4.10",
    44824482                "@wordpress/url": "^3.7.1",
    4483                 "@wordpress/widgets": "^2.4.10",
     4483                "@wordpress/widgets": "^2.4.11",
    44844484                "classnames": "^2.3.1",
    44854485                "lodash": "^4.17.21"
     
    57575757        },
    57585758        "@wordpress/widgets": {
    5759             "version": "2.4.10",
    5760             "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.4.10.tgz",
    5761             "integrity": "sha512-EiZkJO8FSftwtNGvnSfeQruvSkwPe9KJRg/+5fPJhD9YQ3da0MiXrwqaQKMn0bIugJfvtbxdkc9dJfIQWy4bcA==",
     5759            "version": "2.4.11",
     5760            "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.4.11.tgz",
     5761            "integrity": "sha512-9aQJ+YLUJ51/L0o8teBLY+hlrYs8zAve+8nvFduj+lEtjAFS2gdXLpvPfU0wKOVixRseMbGFMKh8p/jlkjOtDQ==",
    57625762            "requires": {
    57635763                "@babel/runtime": "^7.16.0",
  • branches/6.0/package.json

    r54035 r54543  
    8282        "@wordpress/autop": "3.6.1",
    8383        "@wordpress/blob": "3.6.1",
    84         "@wordpress/block-directory": "3.4.14",
     84        "@wordpress/block-directory": "3.4.15",
    8585        "@wordpress/block-editor": "8.5.10",
    86         "@wordpress/block-library": "7.3.14",
     86        "@wordpress/block-library": "7.3.15",
    8787        "@wordpress/block-serialization-default-parser": "4.6.1",
    8888        "@wordpress/blocks": "11.5.3",
     
    9090        "@wordpress/compose": "5.4.1",
    9191        "@wordpress/core-data": "4.4.5",
    92         "@wordpress/customize-widgets": "3.3.14",
     92        "@wordpress/customize-widgets": "3.3.15",
    9393        "@wordpress/data": "6.6.1",
    9494        "@wordpress/data-controls": "2.6.1",
     
    9797        "@wordpress/dom": "3.6.1",
    9898        "@wordpress/dom-ready": "3.6.1",
    99         "@wordpress/edit-post": "6.3.14",
    100         "@wordpress/edit-site": "4.3.14",
    101         "@wordpress/edit-widgets": "4.3.14",
     99        "@wordpress/edit-post": "6.3.15",
     100        "@wordpress/edit-site": "4.3.15",
     101        "@wordpress/edit-widgets": "4.3.15",
    102102        "@wordpress/editor": "12.5.10",
    103103        "@wordpress/element": "4.4.1",
     
    130130        "@wordpress/viewport": "4.4.1",
    131131        "@wordpress/warning": "2.6.1",
    132         "@wordpress/widgets": "2.4.10",
     132        "@wordpress/widgets": "2.4.11",
    133133        "@wordpress/wordcount": "3.6.1",
    134134        "backbone": "1.4.1",
  • 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        }
  • branches/6.0/src/wp-includes/blocks/navigation.php

    r53381 r54543  
    627627        esc_attr( implode( ' ', $responsive_container_classes ) ),
    628628        esc_attr( implode( ' ', $open_button_classes ) ),
    629         safecss_filter_attr( $colors['overlay_inline_styles'] ),
     629        esc_attr( safecss_filter_attr( $colors['overlay_inline_styles'] ) ),
    630630        __( 'Menu' ),
    631631        $toggle_button_content
  • branches/6.0/src/wp-includes/blocks/post-featured-image.php

    r53157 r54543  
    4646            $image_styles .= "object-fit:{$attributes['scale']};";
    4747        }
    48         $featured_image = str_replace( 'src=', 'style="' . esc_attr( $image_styles ) . '" src=', $featured_image );
     48        $featured_image = str_replace( '<img ', '<img style="' . esc_attr( safecss_filter_attr( $image_styles ) ) . '" ', $featured_image );
    4949    }
    5050
  • branches/6.0/src/wp-includes/blocks/rss.php

    r53157 r54543  
    2121
    2222    if ( is_wp_error( $rss ) ) {
    23         return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</div></div>';
     23        return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</div></div>';
    2424    }
    2525
     
    4949                $date = sprintf(
    5050                    '<time datetime="%1$s" class="wp-block-rss__item-publish-date">%2$s</time> ',
    51                     date_i18n( get_option( 'c' ), $date ),
    52                     date_i18n( get_option( 'date_format' ), $date )
     51                    esc_attr( date_i18n( get_option( 'c' ), $date ) ),
     52                    esc_attr( date_i18n( get_option( 'date_format' ), $date ) )
    5353                );
    5454            }
  • branches/6.0/src/wp-includes/blocks/search.php

    r53157 r54543  
    288288    $has_text_color = ! empty( $attributes['style']['color']['text'] );
    289289    if ( $has_text_color ) {
    290         $button_styles[] = sprintf( 'color: %s;', esc_attr( $attributes['style']['color']['text'] ) );
     290        $button_styles[] = sprintf( 'color: %s;', $attributes['style']['color']['text'] );
    291291    }
    292292
    293293    $has_background_color = ! empty( $attributes['style']['color']['background'] );
    294294    if ( $has_background_color ) {
    295         $button_styles[] = sprintf( 'background-color: %s;', esc_attr( $attributes['style']['color']['background'] ) );
     295        $button_styles[] = sprintf( 'background-color: %s;', $attributes['style']['color']['background'] );
    296296    }
    297297
     
    302302
    303303    return array(
    304         'input'   => ! empty( $input_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $input_styles ) ) ) : '',
    305         'button'  => ! empty( $button_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $button_styles ) ) ) : '',
    306         'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $wrapper_styles ) ) ) : '',
     304        'input'   => ! empty( $input_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $input_styles ) ) ) ) : '',
     305        'button'  => ! empty( $button_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $button_styles ) ) ) ) : '',
     306        'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $wrapper_styles ) ) ) ) : '',
    307307    );
    308308}
  • branches/6.0/src/wp-includes/blocks/widget-group.php

    r52069 r54543  
    2929
    3030    if ( ! empty( $attributes['title'] ) ) {
    31         $html .= $before_title . $attributes['title'] . $after_title;
     31        $html .= $before_title . esc_html( $attributes['title'] ) . $after_title;
    3232    }
    3333
Note: See TracChangeset for help on using the changeset viewer.