Ver Fonte

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

Laurel Fulford há 7 anos atrás
pai
commit
7d2483b1a6
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      pique/archive-jetpack-testimonial.php
  2. 1 1
      pique/style.css

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

@@ -21,7 +21,7 @@ get_header(); ?>
 					<?php endif; ?>
 					<?php if ( '' !== $jetpack_options['page-content'] ) : // only display if content not empty ?>
 						<div class="taxonomy-description">
-							<?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>
 					<?php endif; ?>
 				</header>

+ 1 - 1
pique/style.css

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.com/themes/pique/
 Author: Automattic
 Author URI: http://wordpress.com/themes/
 Description: A one-page scrolling theme for small businesses.
-Version: 1.4.1-wpcom
+Version: 1.4.2-wpcom
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: pique