Make WordPress Core

Ticket #14451: bugfix-rss2-category-format.diff

File bugfix-rss2-category-format.diff, 636 bytes (added by benward, 15 years ago)

One line patch to make 'the_category_rss' explicitly declare 'rss2' as format

  • wordpress/wp-includes/feed-rss2.php

     
    3737                <comments><?php comments_link_feed(); ?></comments>
    3838                <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
    3939                <dc:creator><?php the_author() ?></dc:creator>
    40                 <?php the_category_rss() ?>
     40                <?php the_category_rss('rss2') ?>
    4141
    4242                <guid isPermaLink="false"><?php the_guid(); ?></guid>
    4343<?php if (get_option('rss_use_excerpt')) : ?>