Skip to content

Commit

Permalink
Make duotone compatible with enhanced pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
luisherranz committed Oct 19, 2023
1 parent 3423180 commit 32935e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/class-wp-duotone-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
) {
Expand Down

0 comments on commit 32935e3

Please sign in to comment.