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 {