Fetch related post-meta for each comment item. (#1745)

git-svn-id: https://develop.svn.wordpress.org/trunk@3196 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dougal Campbell 2005-11-22 15:01:32 +00:00
parent fd081cb70e
commit 40c9993310
1 changed files with 3 additions and 0 deletions

View File

@ -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);
?>
<item>
<title>by: <?php comment_author_rss() ?></title>