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
This commit is contained in:
parent
873326b7eb
commit
cf82d2ef2b
@ -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 ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user