mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
KSES: Add opacity
to the list of safe CSS properties.
Original PR from Gutenberg repository: * [https://github.com/WordPress/gutenberg/pull/59891 #59891 Update overlay step function in cover block] Reference: [https://developer.mozilla.org/en-US/docs/Web/CSS/opacity MDN Web Docs: opacity]. Props sunil25393, wildworks, poena, Mamaduka, presstoke. Fixes #61536. Built from https://develop.svn.wordpress.org/trunk@58709 git-svn-id: http://core.svn.wordpress.org/trunk@58111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
981871c922
commit
1287cb6181
@ -2526,6 +2526,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
|
|||||||
'list-style-type',
|
'list-style-type',
|
||||||
'object-fit',
|
'object-fit',
|
||||||
'object-position',
|
'object-position',
|
||||||
|
'opacity',
|
||||||
'overflow',
|
'overflow',
|
||||||
'vertical-align',
|
'vertical-align',
|
||||||
'writing-mode',
|
'writing-mode',
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.7-alpha-58708';
|
$wp_version = '6.7-alpha-58709';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user