Make WordPress Core

Changeset 10727


Ignore:
Timestamp:
03/06/2009 02:07:55 AM (16 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r10663 r10727  
    12011201<?php } ?>
    12021202    <link rel="edit" href="<?php $this->the_entry_url() ?>" />
    1203 <?php foreach(get_the_category() as $category) { ?>
    1204     <category scheme="<?php bloginfo_rss('home') ?>" term="<?php echo $category->name?>" />
    1205 <?php } ?>
     1203    <?php the_category_rss( 'atom' ); ?>
    12061204<?php list($content_type, $content) = prep_atom_text_construct(get_the_excerpt()); ?>
    12071205    <summary type="<?php echo $content_type ?>"><?php echo $content ?></summary>
Note: See TracChangeset for help on using the changeset viewer.