diff --git a/wp-includes/classes.php b/wp-includes/classes.php index e8bf921df1..c9f13a2985 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -631,7 +631,7 @@ class WP_Query { // Check post status to determine if post should be displayed. if ($this->is_single) { $status = get_post_status($this->posts[0]); - if ('publish' != $status) { + if ( ('publish' != $status) && ('static' != $status) ) { if ( ! (isset($user_ID) && ('' != intval($user_ID))) ) { // User must be logged in to view unpublished posts. $this->posts = array();