From e26d461cd8aaca305948dda7cc678532d7b8c952 Mon Sep 17 00:00:00 2001 From: timnolte <9O4nMQtXHs2O> Date: Wed, 2 Apr 2014 23:52:40 -0400 Subject: [PATCH] Fixed the parenthesis for the is_tax function calls in the frontend listing query method. --- inc/class-nds-wp-events.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/class-nds-wp-events.php b/inc/class-nds-wp-events.php index 528a508..0a79588 100644 --- a/inc/class-nds-wp-events.php +++ b/inc/class-nds-wp-events.php @@ -482,8 +482,8 @@ public function frontend_listing_query( $query ) // Non-Admin Listing if ( $wp_the_query === $query && !is_admin() && ( is_post_type_archive( $this->plugin_post_type ) - || is_tax( $this->plugin_post_type . '_tag' - || is_tax( $this->plugin_post_type . '_category' )) ) ) + || is_tax( $this->plugin_post_type . '_tag' ) + || is_tax( $this->plugin_post_type . '_category' ) ) ) { $meta_query = array( array(