From 1dd301f63405841551f7b99871af255dc987e113 Mon Sep 17 00:00:00 2001 From: wonderboymusic Date: Thu, 8 Jan 2015 05:53:58 +0000 Subject: [PATCH] `WP_Query->parse_tax_query()` - for BC, this method is not marked as protected. See [28987]. It needs an access modifier, it shall have `public`. The comment remains. See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31081 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php index e38b372e00..b60e37fd79 100644 --- a/src/wp-includes/query.php +++ b/src/wp-includes/query.php @@ -1827,7 +1827,7 @@ class WP_Query { * * @param array &$q The query variables */ - function parse_tax_query( &$q ) { + public function parse_tax_query( &$q ) { if ( ! empty( $q['tax_query'] ) && is_array( $q['tax_query'] ) ) { $tax_query = $q['tax_query']; } else {