Skip to content

Commit

Permalink
Post terms: Add missing closing span
Browse files Browse the repository at this point in the history
See #40559
  • Loading branch information
dsas authored and amustaque97 committed Apr 29, 2022
1 parent fea7dec commit 62767b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-terms/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function render_block_core_post_terms( $attributes, $content, $block ) {

$suffix = '</div>';
if ( isset( $attributes['suffix'] ) && $attributes['suffix'] ) {
$suffix = '<span class="wp-block-post-terms__suffix">' . $attributes['suffix'] . $suffix;
$suffix = '<span class="wp-block-post-terms__suffix">' . $attributes['suffix'] . '</span>' . $suffix;
}

return get_the_term_list(
Expand Down

0 comments on commit 62767b0

Please sign in to comment.