- Timestamp:
- 10/17/2022 04:22:04 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0/src/wp-includes/blocks/post-featured-image.php
r53157 r54543 46 46 $image_styles .= "object-fit:{$attributes['scale']};"; 47 47 } 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 ); 49 49 } 50 50
Note: See TracChangeset
for help on using the changeset viewer.