Ticket #15604: 15604.2.diff
| File 15604.2.diff, 1.2 KB (added by , 14 years ago) |
|---|
-
wp-includes/feed-rss2.php
41 41 42 42 <guid isPermaLink="false"><?php the_guid(); ?></guid> 43 43 <?php if (get_option('rss_use_excerpt')) : ?> 44 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>44 <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description> 45 45 <?php else : ?> 46 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 47 <?php if ( strlen( $post->post_content ) > 0 ) : ?> 48 <content:encoded><![CDATA[<?php the_content_feed('rss2') ?>]]></content:encoded> 46 <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description> 47 <?php $content = get_the_content_feed('rss2'); ?> 48 <?php if ( strlen( $content ) > 0 ) : ?> 49 <content:encoded><![CDATA[<?php echo $content; ?>]]></content:encoded> 49 50 <?php else : ?> 50 <content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded>51 <content:encoded><![CDATA[<?php the_excerpt_rss(); ?>]]></content:encoded> 51 52 <?php endif; ?> 52 53 <?php endif; ?> 53 54 <wfw:commentRss><?php echo esc_url( get_post_comments_feed_link(null, 'rss2') ); ?></wfw:commentRss>