Skip to content

Commit

Permalink
KSES: Add opacity to the list of safe CSS properties.
Browse files Browse the repository at this point in the history
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: http://core.svn.wordpress.org/trunk@58111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
SergeyBiryukov committed Jul 12, 2024
1 parent 981871c commit 1287cb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions wp-includes/kses.php
Original file line number Diff line number Diff line change
Expand Up @@ -2526,6 +2526,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
'list-style-type',
'object-fit',
'object-position',
'opacity',
'overflow',
'vertical-align',
'writing-mode',
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @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.
Expand Down

0 comments on commit 1287cb6

Please sign in to comment.