From cf82d2ef2bf17eb241d288923333a479194a3f59 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 31 Dec 2015 02:22:26 +0000 Subject: [PATCH] Query: Remove a stray debug line from `WP_Query::get_posts()`. Props dlh. Fixes #35271. git-svn-id: https://develop.svn.wordpress.org/trunk@36127 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/query.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php index 87d74ba242..881b9959c6 100644 --- a/src/wp-includes/query.php +++ b/src/wp-includes/query.php @@ -3644,7 +3644,6 @@ class WP_Query { $this->is_attachment = true; } $post_status_obj = get_post_status_object($status); - //$type = get_post_type($this->posts[0]); // If the post_status was specifically requested, let it pass through. if ( !$post_status_obj->public && ! in_array( $status, $q_status ) ) {