From 1dd88e334b42f0e52b966a90c63b603b45ad2d44 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Mon, 31 Oct 2016 15:47:33 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-term-query.php | 10 +--------- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 64b5578543..434d810db0 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -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. diff --git a/wp-includes/version.php b/wp-includes/version.php index ce11867f83..3e43ade385 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.