Skip to content

Commit 3082c1f

Browse files
authored
Update Term.php
1 parent a3b6ccf commit 3082c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/Helpers/Formatting/Term.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function get_terms_list( $post, string $taxonomy, array $settings = [] ): string
6262

6363
$items = [];
6464
foreach ( $terms as $term ) {
65-
$value = escape_content_value( $term );
65+
$value = escape_content_value( $term, 'esc_html' );
6666
if ( empty( $value ) ) {
6767
continue;
6868
}

0 commit comments

Comments
 (0)