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/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
Note: See TracChangeset for help on using the changeset viewer.