Skip to content

Commit

Permalink
Fixed the parenthesis for the is_tax function calls in the frontend l…
Browse files Browse the repository at this point in the history
…isting query method.
  • Loading branch information
timnolte authored and timnolte committed Apr 3, 2014
1 parent 3554139 commit e26d461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/class-nds-wp-events.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e26d461

Please sign in to comment.