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

@@ -108,7 +108,7 @@ foreach ( $posts as $post ) {
$age = $sp_birthdays->get_age( get_the_date( 'm-d-Y', $post->ID ) );
$heading = '<h4 class="sp-table-caption">' . $birthday . ' (' . $age . ')</h4>';
}
echo $heading;
echo wp_kses_post( $heading );
echo '<div class="gallery">';