|
@@ 188-190 (lines=3) @@
|
| 185 |
|
* Backward compatibility: Only store the first |
| 186 |
|
* 'terms' and 'field' found for a given taxonomy. |
| 187 |
|
*/ |
| 188 |
|
if ( ! empty( $cleaned_clause['terms'] ) && ! isset( $this->queried_terms[ $taxonomy ]['terms'] ) ) { |
| 189 |
|
$this->queried_terms[ $taxonomy ]['terms'] = $cleaned_clause['terms']; |
| 190 |
|
} |
| 191 |
|
|
| 192 |
|
if ( ! empty( $cleaned_clause['field'] ) && ! isset( $this->queried_terms[ $taxonomy ]['field'] ) ) { |
| 193 |
|
$this->queried_terms[ $taxonomy ]['field'] = $cleaned_clause['field']; |
|
@@ 192-194 (lines=3) @@
|
| 189 |
|
$this->queried_terms[ $taxonomy ]['terms'] = $cleaned_clause['terms']; |
| 190 |
|
} |
| 191 |
|
|
| 192 |
|
if ( ! empty( $cleaned_clause['field'] ) && ! isset( $this->queried_terms[ $taxonomy ]['field'] ) ) { |
| 193 |
|
$this->queried_terms[ $taxonomy ]['field'] = $cleaned_clause['field']; |
| 194 |
|
} |
| 195 |
|
} |
| 196 |
|
|
| 197 |
|
// Otherwise, it's a nested query, so we recurse. |