From 32935e3557d95cd2b2abf88018df2e10c237439c Mon Sep 17 00:00:00 2001 From: Luis Herranz Date: Thu, 19 Oct 2023 12:56:00 +0200 Subject: [PATCH] Make duotone compatible with enhanced pagination --- lib/class-wp-duotone-gutenberg.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/class-wp-duotone-gutenberg.php b/lib/class-wp-duotone-gutenberg.php index 3395f98f09e7c2..11f6c6dcccdd93 100644 --- a/lib/class-wp-duotone-gutenberg.php +++ b/lib/class-wp-duotone-gutenberg.php @@ -836,7 +836,6 @@ public static function render_duotone_support( $block_content, $block ) { $has_global_styles_duotone = array_key_exists( $block['blockName'], self::$global_styles_block_names ); if ( - empty( $block_content ) || ! $duotone_selector || ( ! $has_duotone_attribute && ! $has_global_styles_duotone ) ) {