mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-09 00:51:35 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@31081 git-svn-id: http://core.svn.wordpress.org/trunk@31062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ac4e67b82e
commit
80915aaf16
@ -1827,7 +1827,7 @@ class WP_Query {
|
|||||||
*
|
*
|
||||||
* @param array &$q The query variables
|
* @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'] ) ) {
|
if ( ! empty( $q['tax_query'] ) && is_array( $q['tax_query'] ) ) {
|
||||||
$tax_query = $q['tax_query'];
|
$tax_query = $q['tax_query'];
|
||||||
} else {
|
} else {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-alpha-31079';
|
$wp_version = '4.2-alpha-31081';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user