Ticket #1745: commentsrss.diff

File commentsrss.diff, 330 bytes (added by dougal, 3 years ago)

Update the comment's post custom values for each RSS item

  • wp-commentsrss2.php

    old new  
    5252        // this line is WordPress' motor, do not delete it. 
    5353                if ($comments) { 
    5454                        foreach ($comments as $comment) { 
     55                                 get_post_custom($comment->comment_post_ID); 
    5556?> 
    5657        <item> 
    5758                <?php do_action('rss_item') ?>