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

@@ -19,6 +19,6 @@ $post = get_post( $id );
$excerpt = $post->post_excerpt;
if ( $excerpt ) {
?>
<p class="sp-excerpt"><?php echo $excerpt; ?></p>
<p class="sp-excerpt"><?php echo wp_kses_post( $excerpt ); ?></p>
<?php
}