WordPress.org

Make WordPress Core

Ticket #4023: 4023.patch

File 4023.patch, 700 bytes (added by peaceablewhale, 9 years ago)

Patch for trunk

  • feed-rss2.php

     
    1616        xmlns:dc="http://purl.org/dc/elements/1.1/"
    1717        xmlns:atom="http://www.w3.org/2005/Atom"
    1818        xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
     19        xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    1920        <?php do_action('rss2_ns'); ?>
    2021>
    2122
     
    5152        <?php endif; ?>
    5253<?php endif; ?>
    5354                <wfw:commentRss><?php echo get_post_comments_feed_link(); ?></wfw:commentRss>
     55                <slash:comments><?php echo get_comments_number(); ?></slash:comments>
    5456<?php rss_enclosure(); ?>
    5557        <?php do_action('rss2_item'); ?>
    5658        </item>