Query: Remove a stray debug line from `WP_Query::get_posts()`.

Props dlh.
Fixes #35271.
Built from https://develop.svn.wordpress.org/trunk@36127


git-svn-id: http://core.svn.wordpress.org/trunk@36093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-12-31 02:23:30 +00:00
parent 3057c03474
commit d160543282
2 changed files with 1 additions and 2 deletions

View File

@ -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 ) ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36126';
$wp_version = '4.5-alpha-36127';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.