WordPress.org

Make WordPress Core

Ticket #8626: 8626.diff

File 8626.diff, 1.6 KB (added by neoxx, 5 years ago)
  • C:\Users\neoxx\

    old new  
    1111<feed 
    1212        xmlns="http://www.w3.org/2005/Atom" 
    1313        xml:lang="<?php echo get_option('rss_language'); ?>" 
     14        xmlns:thr="http://purl.org/syndication/thread/1.0" 
    1415        <?php do_action('atom_ns'); ?> 
    1516> 
    1617        <title type="text"><?php 
     
    7374<?php endif; // post pass 
    7475        // Return comment threading information (http://www.ietf.org/rfc/rfc4685.txt) 
    7576        if ( $comment->comment_parent == 0 ) : // This comment is top level ?> 
    76                 <thr:in-reply-to rel="<?php the_guid() ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" /> 
     77                <thr:in-reply-to ref="<?php the_guid() ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" /> 
    7778<?php else : // This comment is in reply to another comment 
    7879        $parent_comment = get_comment($comment->comment_parent); 
    7980        // The rel attribute below and the id tag above should be GUIDs, but WP doesn't create them for comments (unlike posts). Either way, its more important that they both use the same system 
    8081?> 
    81                 <thr:in-reply-to rel="<?php echo get_comment_link($parent_comment) ?>" href="<?php echo get_comment_link($parent_comment) ?>" type="<?php bloginfo_rss('html_type'); ?>" /> 
     82                <thr:in-reply-to ref="<?php echo get_comment_link($parent_comment) ?>" href="<?php echo get_comment_link($parent_comment) ?>" type="<?php bloginfo_rss('html_type'); ?>" /> 
    8283<?php endif; 
    8384        do_action('comment_atom_entry', $comment->comment_ID, $comment_post->ID); 
    8485?>