|
@@ -186,7 +186,7 @@ function lodestar_portfolio_content( $before = '', $after = '' ) {
|
|
|
if ( is_tax() && get_the_archive_description() ) {
|
|
|
echo $before . get_the_archive_description() . $after;
|
|
|
} else if ( isset( $jetpack_portfolio_content ) && '' != $jetpack_portfolio_content ) {
|
|
|
- $content = convert_chars( convert_smilies( wptexturize( stripslashes( wp_filter_post_kses( addslashes( $jetpack_portfolio_content ) ) ) ) ) );
|
|
|
+ $content = convert_chars( convert_smilies( wptexturize( wp_kses_post( $jetpack_portfolio_content ) ) ) );
|
|
|
echo $before . $content . $after;
|
|
|
}
|
|
|
}
|