Dara: Use wp_kses_post rather than wp_filter_post_kses. See 5019-wpcom-themes

This commit is contained in:
Caroline Moore 2018-03-02 18:06:29 -05:00
parent 5064b7fcc5
commit f345edb6ab

View file

@ -30,7 +30,7 @@ get_header(); ?>
</h1>
</header><!-- .entry-header -->
<?php echo convert_chars( convert_smilies( wptexturize( stripslashes( wp_filter_post_kses( addslashes( $jetpack_options['page-content'] ) ) ) ) ) ); ?>
<?php echo convert_chars( convert_smilies( wptexturize( wp_kses_post( $jetpack_options['page-content'] ) ) ) ); ?>
</article><!-- .hentry -->
<div id="testimonials">