diff options
Diffstat (limited to 'wp-includes/feed-rss2-comments.php')
-rw-r--r-- | wp-includes/feed-rss2-comments.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wp-includes/feed-rss2-comments.php b/wp-includes/feed-rss2-comments.php index e0e664e..85a4079 100644 --- a/wp-includes/feed-rss2-comments.php +++ b/wp-includes/feed-rss2-comments.php @@ -72,7 +72,10 @@ do_action( 'rss_tag_pre', 'rss2-comments' ); while ( have_comments() ) : the_comment(); - $comment_post = get_post( $comment->comment_post_ID ); + $comment_post = get_post( $comment->comment_post_ID ); + /** + * @global WP_Post $post Global post object. + */ $GLOBALS['post'] = $comment_post; ?> <item> |