From 40c99933109b72149cf5907b12b3b4e0bd32c9ff Mon Sep 17 00:00:00 2001 From: Dougal Campbell Date: Tue, 22 Nov 2005 15:01:32 +0000 Subject: [PATCH] Fetch related post-meta for each comment item. (#1745) git-svn-id: https://develop.svn.wordpress.org/trunk@3196 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-commentsrss2.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-commentsrss2.php b/wp-commentsrss2.php index 266588fd2b..8de760d5c4 100644 --- a/wp-commentsrss2.php +++ b/wp-commentsrss2.php @@ -46,6 +46,9 @@ if (have_posts()) : // this line is WordPress' motor, do not delete it. if ($comments) { foreach ($comments as $comment) { + // Some plugins may need to know the metadata + // associated with this comment's post: + get_post_custom($comment->comment_post_ID); ?> by: <?php comment_author_rss() ?>