Pique: Use wp_kses_post rather than wp_filter_post_kses. See 5019-wpcom-themes.
This commit is contained in:
parent
2d8898fa57
commit
7d2483b1a6
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue