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
This commit is contained in:
parent
5d6cc49628
commit
1dd301f634
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user