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:
parent
3057c03474
commit
d160543282
|
@ -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 ) ) {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue