diff --git a/includes/classes/Indexable.php b/includes/classes/Indexable.php index 5f15a97037..10dbdd9495 100644 --- a/includes/classes/Indexable.php +++ b/includes/classes/Indexable.php @@ -1038,7 +1038,7 @@ public function build_meta_query( $meta_queries ) { if ( false !== $terms_obj ) { $meta_filter[] = $terms_obj; } - } elseif ( is_array( $single_meta_query ) && isset( $single_meta_query[0] ) && is_array( $single_meta_query[0] ) ) { + } elseif ( is_array( $single_meta_query ) ) { /** * Handle multidimensional array. Something like: *