Browse Source

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

Caroline Moore 7 years ago
parent
commit
0e3b80d6d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      karuna/archive-jetpack-testimonial.php

+ 1 - 1
karuna/archive-jetpack-testimonial.php

@@ -30,7 +30,7 @@ get_header(); ?>
 				</header>
 				<article class="hentry testimonials-hentry">
 					<div class="entry-content">
-						<?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'] ) ) ) ); ?>
 					</div>
 				</article>