mirror of
git://develop.git.wordpress.org/
synced 2025-03-22 13:00:29 +01:00
Coding Standards: Fix alignment in WP_Query::parse_tax_query
.
Follow-up to [59766]. See #59516, #62279. git-svn-id: https://develop.svn.wordpress.org/trunk@60048 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1aa6da693a
commit
d44e1c2ce2
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user