Media: Add `object-fit` to the allowed list of CSS properties.
This resolves a bug in Featured Image blocks where `object-fit` was being removed during the `render_callback`. Props raduiason, pbiron, kebbet, SergeyBiryukov, bernhard-reiter, ironprogrammer, xknown, audrasjb, ckanderson22, ivanjeronimo, seriouslysenpai, davidbaumwald. Merges [54675] to the 6.0 branch. Fixes #56855. Built from https://develop.svn.wordpress.org/branches/6.0@54763 git-svn-id: http://core.svn.wordpress.org/branches/6.0@54315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
26464b0f82
commit
95622d5d67
|
@ -2371,6 +2371,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
|
|||
'direction',
|
||||
'float',
|
||||
'list-style-type',
|
||||
'object-fit',
|
||||
'object-position',
|
||||
'overflow',
|
||||
'vertical-align',
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.0.4-alpha-54628';
|
||||
$wp_version = '6.0.4-alpha-54763';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue