Revert [13187] pending further debate. see #12267

git-svn-id: https://develop.svn.wordpress.org/trunk@13318 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-02-23 01:13:37 +00:00
parent f550f5ce35
commit b2471216cd
3 changed files with 0 additions and 103 deletions

View File

@@ -2302,10 +2302,6 @@ class WP_Query {
if ( !$q['suppress_filters'] )
$this->posts = apply_filters('posts_results', $this->posts);
// Turn each row into a classed object, e.g. wp_post, wp_comment.
if ( is_array($this->posts) )
$this->posts = array_map(array('wp_row', 'get'), $this->posts);
if ( !empty($this->posts) && $this->is_comment_feed && $this->is_singular ) {
$cjoin = apply_filters('comment_feed_join', '');
$cwhere = apply_filters('comment_feed_where', "WHERE comment_post_ID = '{$this->posts[0]->ID}' AND comment_approved = '1'");