mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
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:
@@ -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'");
|
||||
|
||||
Reference in New Issue
Block a user