WordPress.org

Make WordPress Core

Ticket #5434: 5434.patch

File 5434.patch, 685 bytes (added by rubys, 13 years ago)

patch

  • wp-includes/feed-atom.php

     
    4242<?php endif; ?>
    4343<?php atom_enclosure(); ?>
    4444<?php do_action('atom_entry'); ?>
     45                <link rel="replies" type="text/html" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo get_comments_number()?>"/>
     46                <link rel="replies" type="appication/atom+xml" href="<?php echo get_post_comments_feed_link(0,'atom') ?>" thr:count="<?php echo get_comments_number()?>"/>
     47                <thr:total><?php echo get_comments_number()?></thr:total>
    4548        </entry>
    4649        <?php endwhile ; ?>
    4750</feed>