Make WordPress Core

Changeset 10164


Ignore:
Timestamp:
12/10/2008 05:51:56 AM (16 years ago)
Author:
ryan
Message:

ref not rel. Props oddthinking. fixes #8292

File:
1 edited

Legend:

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

    r10036 r10164  
    7474    // Return comment threading information (http://www.ietf.org/rfc/rfc4685.txt)
    7575    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'); ?>" />
     76        <thr:in-reply-to ref="<?php the_guid() ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" />
    7777<?php else : // This comment is in reply to another comment
    7878    $parent_comment = get_comment($comment->comment_parent);
    7979    // 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
    8080?>
    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'); ?>" />
     81        <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'); ?>" />
    8282<?php endif;
    8383    do_action('comment_atom_entry', $comment->comment_ID, $comment_post->ID);
Note: See TracChangeset for help on using the changeset viewer.