From 87125fe8b53b86f2ece2b141a30091dd5e55d1f8 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Mon, 9 Jul 2012 03:33:01 +0000 Subject: [PATCH] Use the_content_feed() when looking for zero-length post content for RSS2 feeds. Now you can have blank posts with content generated by the_content filters. props SergeyBiryukov. fixes #15604 git-svn-id: http://core.svn.wordpress.org/trunk@21235 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed-rss2.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/wp-includes/feed-rss2.php b/wp-includes/feed-rss2.php index 8fc51d55ac..a20aa1ea34 100644 --- a/wp-includes/feed-rss2.php +++ b/wp-includes/feed-rss2.php @@ -41,13 +41,14 @@ echo ''; ?> - ]]> + ]]> - ]]> - post_content ) > 0 ) : ?> - ]]> + ]]> + + 0 ) : ?> + ]]> - ]]> + ]]>