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. Built from https://develop.svn.wordpress.org/trunk@39057 git-svn-id: http://core.svn.wordpress.org/trunk@38999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
03e34ab461
commit
1dd88e334b
|
@ -265,15 +265,7 @@ class WP_Term_Query {
|
|||
|
||||
$query['taxonomy'] = $taxonomies;
|
||||
|
||||
/**
|
||||
* 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 );
|
||||
$this->query_vars = $query;
|
||||
|
||||
/**
|
||||
* Fires after term query vars have been parsed.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-beta1-39056';
|
||||
$wp_version = '4.7-beta1-39057';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue