Changeset 18716
- Timestamp:
- 09/19/2011 12:39:59 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed-atom-comments.php
r14950 r18716 43 43 <?php 44 44 if ( have_comments() ) : while ( have_comments() ) : the_comment(); 45 $comment_post = get_post($comment->comment_post_ID); 46 get_post_custom($comment_post->ID); 45 $comment_post = $GLOBALS['post'] = get_post( $comment->comment_post_ID ); 47 46 ?> 48 47 <entry> -
trunk/wp-includes/feed-rss2-comments.php
r13113 r18716 35 35 <?php 36 36 if ( have_comments() ) : while ( have_comments() ) : the_comment(); 37 $comment_post = get_post($comment->comment_post_ID); 38 get_post_custom($comment_post->ID); 37 $comment_post = $GLOBALS['post'] = get_post( $comment->comment_post_ID ); 39 38 ?> 40 39 <item>
Note: See TracChangeset
for help on using the changeset viewer.