From a96c5c0b2a3091bcc9969a07a2e53afa469f0938 Mon Sep 17 00:00:00 2001 From: markjaquith 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: http://core.svn.wordpress.org/trunk@21238 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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);