Make WordPress Core

Changeset 11864


Ignore:
Timestamp:
08/21/2009 04:45:41 PM (15 years ago)
Author:
ryan
Message:

Force correct feed type for wfw:CommentRss element. Props peaceablewhale. fixes #10016

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed-rss2.php

    r11358 r11864  
    5252    <?php endif; ?>
    5353<?php endif; ?>
    54         <wfw:commentRss><?php echo get_post_comments_feed_link(); ?></wfw:commentRss>
     54        <wfw:commentRss><?php echo get_post_comments_feed_link(null, 'rss2'); ?></wfw:commentRss>
    5555        <slash:comments><?php echo get_comments_number(); ?></slash:comments>
    5656<?php rss_enclosure(); ?>
Note: See TracChangeset for help on using the changeset viewer.