]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/feed-rss2-comments.php
Wordpress 3.3
[autoinstalls/wordpress.git] / wp-includes / feed-rss2-comments.php
index 74715b80e1a91947af1226f81944a747bf893d7d..26d3325d574895ae56811d9ed903971adf4c69e7 100644 (file)
@@ -34,8 +34,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
        <?php do_action('commentsrss2_head'); ?>
 <?php
 if ( have_comments() ) : while ( have_comments() ) : the_comment();
-       $comment_post = get_post($comment->comment_post_ID);
-       get_post_custom($comment_post->ID);
+       $comment_post = $GLOBALS['post'] = get_post( $comment->comment_post_ID );
 ?>
        <item>
                <title><?php