diff --git a/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php index 277ef0826c..21127dc755 100644 --- a/wp-includes/class-wp-query.php +++ b/wp-includes/class-wp-query.php @@ -1291,7 +1291,7 @@ class WP_Query { if ( ! empty( $q['category__not_in'] ) ) { $q['category__not_in'] = array_map( 'absint', array_unique( (array) $q['category__not_in'] ) ); sort( $q['category__not_in'] ); - $tax_query[] = array( + $tax_query[] = array( 'taxonomy' => 'category', 'terms' => $q['category__not_in'], 'operator' => 'NOT IN', @@ -1360,7 +1360,7 @@ class WP_Query { if ( ! empty( $q['tag__not_in'] ) ) { $q['tag__not_in'] = array_map( 'absint', array_unique( (array) $q['tag__not_in'] ) ); sort( $q['tag__not_in'] ); - $tax_query[] = array( + $tax_query[] = array( 'taxonomy' => 'post_tag', 'terms' => $q['tag__not_in'], 'operator' => 'NOT IN', diff --git a/wp-includes/version.php b/wp-includes/version.php index 76e2e3fd15..834a6246db 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-beta3-60047'; +$wp_version = '6.8-beta3-60048'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.