From d3039fdd1560ba3226cbe1f0b53bc9e79bb91144 Mon Sep 17 00:00:00 2001 From: Mark Jaquith 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: https://develop.svn.wordpress.org/trunk@21235 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 ) : ?> + ]]> - ]]> + ]]>