Skip to content

Commit

Permalink
Use span instead of div for the post count block
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Aug 8, 2024
1 parent ab1bf8e commit f0d1c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/frontend/blocks/class-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public static function render_block_post_count( $attributes, $content, $block )
$wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classes ) ) );

return sprintf(
'<div %1$s>%2$s</div>',
'<span %1$s>%2$s</span>',
$wrapper_attributes,
wp_kses( $output, self::get_allowed_svg_tags() )
);
Expand Down

0 comments on commit f0d1c3d

Please sign in to comment.