Taxonomy: Remove redundant 'get_terms_args' filter call from WP_Term_Query
.
Introduced in [37572]. The correct 'get_terms_args' filter call is in `WP_Term_Query::get_terms()`. Props Tkama. Fixes #38589. git-svn-id: https://develop.svn.wordpress.org/trunk@39057 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d66ba1ee7a
commit
fb3c57a399
@ -265,15 +265,7 @@ class WP_Term_Query {
|
|||||||
|
|
||||||
$query['taxonomy'] = $taxonomies;
|
$query['taxonomy'] = $taxonomies;
|
||||||
|
|
||||||
/**
|
$this->query_vars = $query;
|
||||||
* Filters the terms query arguments.
|
|
||||||
*
|
|
||||||
* @since 3.1.0
|
|
||||||
*
|
|
||||||
* @param array $args An array of get_terms() arguments.
|
|
||||||
* @param array $taxonomies An array of taxonomies.
|
|
||||||
*/
|
|
||||||
$this->query_vars = apply_filters( 'get_terms_args', $query, $taxonomies );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires after term query vars have been parsed.
|
* Fires after term query vars have been parsed.
|
||||||
|
Loading…
Reference in New Issue
Block a user