ref not rel. Props oddthinking. fixes #8292

git-svn-id: http://svn.automattic.com/wordpress/trunk@10164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-12-10 05:51:56 +00:00
parent 852b2722e8
commit 4483f075d5

View File

@ -73,12 +73,12 @@ if ( have_comments() ) : while ( have_comments() ) : the_comment();
<?php endif; // post pass <?php endif; // post pass
// Return comment threading information (http://www.ietf.org/rfc/rfc4685.txt) // Return comment threading information (http://www.ietf.org/rfc/rfc4685.txt)
if ( $comment->comment_parent == 0 ) : // This comment is top level ?> if ( $comment->comment_parent == 0 ) : // This comment is top level ?>
<thr:in-reply-to rel="<?php the_guid() ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" /> <thr:in-reply-to ref="<?php the_guid() ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" />
<?php else : // This comment is in reply to another comment <?php else : // This comment is in reply to another comment
$parent_comment = get_comment($comment->comment_parent); $parent_comment = get_comment($comment->comment_parent);
// 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 // 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
?> ?>
<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'); ?>" /> <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'); ?>" />
<?php endif; <?php endif;
do_action('comment_atom_entry', $comment->comment_ID, $comment_post->ID); do_action('comment_atom_entry', $comment->comment_ID, $comment_post->ID);
?> ?>