From 5783e5ff6ef418012d7241362f0d441dcc0b86dc Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 20 Nov 2008 19:08:41 +0000 Subject: [PATCH] Add threaded comment info to atom feed. Props dtsn. fixes #8292 git-svn-id: http://svn.automattic.com/wordpress/trunk@9818 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed-atom-comments.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/wp-includes/feed-atom-comments.php b/wp-includes/feed-atom-comments.php index e7c3c7cba..9b533fcd4 100644 --- a/wp-includes/feed-atom-comments.php +++ b/wp-includes/feed-atom-comments.php @@ -66,11 +66,20 @@ if ( have_comments() ) : while ( have_comments() ) : the_comment(); -post_password) && $_COOKIE['wp-postpass'] != $comment_post->post_password) : ?> + ]]> ]]> comment_parent == 0 ) : // This comment is top level ?> + +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 +?> + +comment_ID, $comment_post->ID); ?>