Skip to content

Commit d40bf7d

Browse files
KSES: Add opacity to the list of safe CSS properties.
Original PR from Gutenberg repository: * [WordPress/gutenberg#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: https://core.svn.wordpress.org/trunk@58111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 2d7d1ec commit d40bf7d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

wp-includes/kses.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,6 +2526,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
25262526
'list-style-type',
25272527
'object-fit',
25282528
'object-position',
2529+
'opacity',
25292530
'overflow',
25302531
'vertical-align',
25312532
'writing-mode',

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '6.7-alpha-58708';
19+
$wp_version = '6.7-alpha-58709';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)