Summaries in Atom should properly describe their content, fixes #3377. Hat tip: link92.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
44691d34ca
commit
f510668919
|
@ -34,7 +34,7 @@ $more = 1;
|
||||||
<modified><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></modified>
|
<modified><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></modified>
|
||||||
<issued><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></issued>
|
<issued><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></issued>
|
||||||
<?php the_category_rss('rdf') ?>
|
<?php the_category_rss('rdf') ?>
|
||||||
<summary type="text/plain" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
|
<summary type="<?php bloginfo('html_type'); ?>" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
|
||||||
<?php if ( !get_option('rss_use_excerpt') ) : ?>
|
<?php if ( !get_option('rss_use_excerpt') ) : ?>
|
||||||
<content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
|
<content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
Loading…
Reference in New Issue