Escape outputs

This commit is contained in:
Brian Miyaji
2021-11-13 20:42:08 +09:00
parent 051d3e3055
commit 23ba2446b1
190 changed files with 2837 additions and 2837 deletions

View File

@@ -23,7 +23,7 @@ $content = $post->post_content;
if ( $content ) {
?>
<div class="sp-post-content">
<?php echo apply_filters( 'the_content', $content ); ?>
<?php echo wp_kses_post( apply_filters( 'the_content', $content ) ); ?>
</div>
<?php
}