Make WordPress Core


Ignore:
Timestamp:
10/25/2022 07:17:35 PM (2 years ago)
Author:
davidbaumwald
Message:

Editor: Update packages for 6.1 Release Candidate 3.

Package updates for bug and regression fixes since 6.1 RC 2:

  • @wordpress/block-directory: 3.15.10
  • @wordpress/block-editor: 10.0.9
  • @wordpress/block-library: 7.14.10
  • @wordpress/customize-widgets: 3.14.10
  • @wordpress/edit-post: 6.14.10
  • @wordpress/edit-site: 4.14.12
  • @wordpress/edit-widgets: 4.14.10
  • @wordpress/editor: 12.16.9
  • @wordpress/format-library: 3.15.9
  • @wordpress/reusable-blocks: 3.15.9
  • @wordpress/widgets: 2.15.9

Original PRs from Gutenberg repository:

  • [WordPress/gutenberg#45189 Gutenberg PR 45189] - Fix resizeable editor scrolling
  • [WordPress/gutenberg#45234 Gutenberg PR 45234] - Reset background-image property for outline button style
  • [WordPress/gutenberg#45161 Gutenberg PR 45161] - Table Block: Add a deprecation for the figcaption element class name
  • [WordPress/gutenberg#45159 Gutenberg PR 45159] - File Block: Add a deprecation for the button element class name
  • [WordPress/gutenberg#45169 Gutenberg PR 45169] - Video: Add a deprecation for the caption element
  • [WordPress/gutenberg#45166 Gutenberg PR 45166] - Embed: Add deprecation for the caption element
  • [WordPress/gutenberg#45173 Gutenberg PR 45173] - Gallery: Add a deprecation for captions in the gallery block
  • [WordPress/gutenberg#44854 Gutenberg PR 44854] - Embed Block: Add support for Tumblr Dashboard URLs
  • [WordPress/gutenberg#45074 Gutenberg PR 45074] - Post editor: Rename view to Preview
  • [WordPress/gutenberg#45163 Gutenberg PR 45163] - Featured Image Block: Add missing output escaping
  • [WordPress/gutenberg#45118 Gutenberg PR 45118] - [WP6.1] Site editor clips body background style

Follow-up to [54257], [54335], [54383], [54483], [54486], [54490], and [54632].

Props czapla, cbravobernal, ndiego, annezazu, davidbaumwald, desrosj, mikeschroder, hellofromtonya, ocean90.
Reviewed by desrosj, hellofromTonya, SergeyBiryukov.
Merges [54693] to the 6.1 branch.
See #56467.

Location:
branches/6.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.1

  • branches/6.1/src/wp-includes/blocks/post-featured-image.php

    r54383 r54694  
    6565            $image_styles .= "object-fit:{$attributes['scale']};";
    6666        }
    67         $featured_image = str_replace( 'src=', 'style="' . esc_attr( $image_styles ) . '" src=', $featured_image );
     67        $featured_image = str_replace( '<img ', '<img style="' . esc_attr( safecss_filter_attr( $image_styles ) ) . '" ', $featured_image );
    6868    }
    6969
Note: See TracChangeset for help on using the changeset viewer.