Do not cut excerpts in rss feeds. Patch from Kitten for bug 0000192.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-07-27 13:49:05 +00:00
parent 87812da903
commit 2734dca687

View File

@ -35,7 +35,7 @@ $more = 1;
<?php the_category_rss() ?> <?php the_category_rss() ?>
<guid><?php the_permalink($id); ?></guid> <guid><?php the_permalink($id); ?></guid>
<?php if (get_settings('rss_use_excerpt')) : ?> <?php if (get_settings('rss_use_excerpt')) : ?>
<description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description> <description><?php the_excerpt_rss('', 2) ?></description>
<?php else : ?> <?php else : ?>
<description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description> <description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description>
<content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded> <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>