From 8203ef4905745dc406194a956bc25a3494fc403d Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 15 Sep 2012 20:17:03 +0000 Subject: [PATCH] Make WP_Tax_Query::transform_query() public. props scribu. fixes #21684. git-svn-id: http://core.svn.wordpress.org/trunk@21863 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index c28bef68d6..c4d49dff6a 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -765,12 +765,11 @@ class WP_Tax_Query { * Transforms a single query, from one field to another. * * @since 3.2.0 - * @access private * * @param array &$query The single query * @param string $resulting_field The resulting field */ - private function transform_query( &$query, $resulting_field ) { + public function transform_query( &$query, $resulting_field ) { global $wpdb; if ( empty( $query['terms'] ) )