Use 'the_category_rss' template function in Atompub backend. Props znarfor, josephscott. fixes #8829

git-svn-id: http://svn.automattic.com/wordpress/trunk@10727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-03-06 02:07:55 +00:00
parent cb712c991d
commit e89d747f7a
1 changed files with 1 additions and 3 deletions

View File

@ -1200,9 +1200,7 @@ list($content_type, $content) = prep_atom_text_construct(get_the_content()); ?>
<?php endif; ?>
<?php } ?>
<link rel="edit" href="<?php $this->the_entry_url() ?>" />
<?php foreach(get_the_category() as $category) { ?>
<category scheme="<?php bloginfo_rss('home') ?>" term="<?php echo $category->name?>" />
<?php } ?>
<?php the_category_rss( 'atom' ); ?>
<?php list($content_type, $content) = prep_atom_text_construct(get_the_excerpt()); ?>
<summary type="<?php echo $content_type ?>"><?php echo $content ?></summary>
</entry>