From 2310bf2ab6ea7c89887677fb69b4311d784a60f4 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@9818 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 e7c3c7cba6..9b533fcd4b 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); ?>