Changes between Initial Version and Version 1 of Ticket #56855, comment 4
- Timestamp:
- 10/19/2022 09:07:19 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56855, comment 4
initial v1 1 The problem reported here seems to be that the security fixes in 6.0.3 added a call to [https://developer.wordpress.org/reference/functions/safecss_filter_attr/ safecss_filter_attr()] in the render callback for the featured image block and that the `object-fit` CSS is stripped out by `safecss_filter_attr()`.1 The problem reported here seems to be that the security fixes in 6.0.3 added a call to [https://developer.wordpress.org/reference/functions/safecss_filter_attr/ safecss_filter_attr()] in the render callback for the featured image block and that the `object-fit` CSS property is stripped out by `safecss_filter_attr()`. 2 2 3 3 [attachment:"56855.diff"] adds `object-fit` to the list of allowed CSS properties, so that `safecss_filter_attr()` no longer strips it out.