From e800b7823f2fa2a847712c023e51eee5b63ccdd0 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 3 Mar 2006 02:17:14 +0000 Subject: [PATCH] Forget to group with parens on [3600]. #2498 git-svn-id: https://develop.svn.wordpress.org/trunk@3601 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 0667b8f01f..74012993ab 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -654,7 +654,7 @@ class WP_Query { $this->posts = $wpdb->get_results($this->request); // Check post status to determine if post should be displayed. - if ( !empty($this->posts) && $this->is_single || $this->is_page ) { + if ( !empty($this->posts) && ($this->is_single || $this->is_page) ) { $status = get_post_status($this->posts[0]); //$type = get_post_type($this->posts[0]); if ( ('publish' != $status) ) {