mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
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:
parent
87812da903
commit
2734dca687
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user