- Timestamp:
- 10/17/2022 06:08:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9/src/wp-includes/blocks/post-featured-image.php
r52042 r54564 44 44 $image_styles .= "object-fit:{$attributes['scale']};"; 45 45 } 46 $featured_image = str_replace( ' src=', "style='$image_styles' src=", $featured_image );46 $featured_image = str_replace( '<img ', '<img style="' . esc_attr( safecss_filter_attr( $image_styles ) ) . '" ', $featured_image ); 47 47 } 48 48
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)