diff --git a/includes/class-peptide-news-rest-api.php b/includes/class-peptide-news-rest-api.php index c211edb..6135b09 100644 --- a/includes/class-peptide-news-rest-api.php +++ b/includes/class-peptide-news-rest-api.php @@ -185,11 +185,6 @@ class Peptide_News_Rest_API { } } - // Escape string fields for REST API output - $article->title = wp_kses_post( $article->title ); - $article->excerpt = wp_kses_post( $article->excerpt ); - $article->ai_summary = wp_kses_post( $article->ai_summary ); - $article->author = esc_html( $article->author ); } $data = array(