From fb23c2d9f4a103ec0156521b86c39e5e91b92c7d Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 9 Jul 2012 04:25:57 +0000 Subject: [PATCH] Use a CDATA section for RSS2 comments feeds, so HTML in comments doesn't kill XML validation. props bazza. fixes #16466 git-svn-id: https://develop.svn.wordpress.org/trunk@21238 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/feed-rss2-comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/feed-rss2-comments.php b/wp-includes/feed-rss2-comments.php index 26d3325d57..ddedd6d137 100644 --- a/wp-includes/feed-rss2-comments.php +++ b/wp-includes/feed-rss2-comments.php @@ -54,7 +54,7 @@ if ( have_comments() ) : while ( have_comments() ) : the_comment(); ]]> - + ]]> ]]> comment_ID, $comment_post->ID);