diff --git a/wp-includes/block-supports/duotone.php b/wp-includes/block-supports/duotone.php index 76542d8e37..d010fb893b 100644 --- a/wp-includes/block-supports/duotone.php +++ b/wp-includes/block-supports/duotone.php @@ -459,7 +459,7 @@ function wp_get_duotone_filter_svg( $preset ) { $svg = ob_get_clean(); - if ( ! defined( 'SCRIPT_DEBUG' ) || ! SCRIPT_DEBUG ) { + if ( ! SCRIPT_DEBUG ) { // Clean up the whitespace. $svg = preg_replace( "/[\r\n\t ]+/", ' ', $svg ); $svg = str_replace( '> <', '><', $svg ); @@ -543,7 +543,7 @@ function wp_render_duotone_support( $block_content, $block ) { // !important is needed because these styles render before global styles, // and they should be overriding the duotone filters set by global styles. - $filter_style = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG + $filter_style = SCRIPT_DEBUG ? $selector . " {\n\tfilter: " . $filter_property . " !important;\n}\n" : $selector . '{filter:' . $filter_property . ' !important;}'; diff --git a/wp-includes/version.php b/wp-includes/version.php index e1b34867e2..3114ef56b0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55140'; +$wp_version = '6.2-alpha-55141'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.