Make WordPress Core

Changeset 4688


Ignore:
Timestamp:
01/07/2007 02:14:07 AM (17 years ago)
Author:
matt
Message:

Summaries in Atom should properly describe their content, fixes #3377. Hat tip: link92.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-atom.php

    r4495 r4688  
    3535        <issued><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></issued>
    3636        <?php the_category_rss('rdf') ?>
    37         <summary type="text/plain" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
     37        <summary type="<?php bloginfo('html_type'); ?>" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
    3838<?php if ( !get_option('rss_use_excerpt') ) : ?>
    3939        <content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
Note: See TracChangeset for help on using the changeset viewer.