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. Fixes #56855. Built from https://develop.svn.wordpress.org/trunk@54675 git-svn-id: http://core.svn.wordpress.org/trunk@54227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
03a200a9c0
commit
a5213e123f
|
@ -2423,6 +2423,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
|
||||||
'direction',
|
'direction',
|
||||||
'float',
|
'float',
|
||||||
'list-style-type',
|
'list-style-type',
|
||||||
|
'object-fit',
|
||||||
'object-position',
|
'object-position',
|
||||||
'overflow',
|
'overflow',
|
||||||
'vertical-align',
|
'vertical-align',
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2-alpha-54674';
|
$wp_version = '6.2-alpha-54675';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue