Skip to content

Commit f1adb06

Browse files
committed
Output content without wp_kses_post()
1 parent 7c4cd02 commit f1adb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<div class="<?php echo esc_attr( $list_item_classes ); ?>">
3131
<a href="#<?php echo esc_attr( $list_item_id ); ?>"><?php echo esc_html( $item['item_title'] ); ?><span></span></a>
3232
<div id="<?php echo esc_attr( $list_item_id ); ?>" aria-expanded="false">
33-
<?php echo wp_kses_post( $item['item_content'] ); ?>
33+
<?php echo $item['item_content']; // WPCS: XSS OK. ?>
3434
</div>
3535
</div>
3636
<?php endforeach; ?>

0 commit comments

Comments
 (0)