Specify feed type in the_category_rss() call. props benward, fixes #14451.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-10-26 20:15:18 +00:00
parent f7bb6febeb
commit 16b1f727af

View File

@ -37,7 +37,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
<comments><?php comments_link_feed(); ?></comments> <comments><?php comments_link_feed(); ?></comments>
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate> <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
<dc:creator><?php the_author() ?></dc:creator> <dc:creator><?php the_author() ?></dc:creator>
<?php the_category_rss() ?> <?php the_category_rss('rss2') ?>
<guid isPermaLink="false"><?php the_guid(); ?></guid> <guid isPermaLink="false"><?php the_guid(); ?></guid>
<?php if (get_option('rss_use_excerpt')) : ?> <?php if (get_option('rss_use_excerpt')) : ?>