Make WordPress Core

Ticket #15604: 15604.diff

File 15604.diff, 667 bytes (added by dd32, 13 years ago)
  • wp-includes/feed-rss2.php

     
    4444                <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
    4545<?php else : ?>
    4646                <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
    47         <?php if ( strlen( $post->post_content ) > 0 ) : ?>
     47        <?php if ( strlen( get_the_content_feed('rss2') ) > 0 ) : ?>
    4848                <content:encoded><![CDATA[<?php the_content_feed('rss2') ?>]]></content:encoded>
    4949        <?php else : ?>
    5050                <content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded>