Skip to content

Commit f0d1c3d

Browse files
committed
Use span instead of div for the post count block
1 parent ab1bf8e commit f0d1c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/frontend/blocks/class-blocks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public static function render_block_post_count( $attributes, $content, $block )
242242
$wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classes ) ) );
243243

244244
return sprintf(
245-
'<div %1$s>%2$s</div>',
245+
'<span %1$s>%2$s</span>',
246246
$wrapper_attributes,
247247
wp_kses( $output, self::get_allowed_svg_tags() )
248248
);

0 commit comments

Comments
 (0)