mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 23:30:53 +00:00
In WP_Term_Query
, accept a string value for taxonomy
.
Merges [38181] to the 4.6 branch. Props endocreative. Props ocean90 for review. Fixes #37545. Built from https://develop.svn.wordpress.org/branches/4.6@38182 git-svn-id: http://core.svn.wordpress.org/branches/4.6@38123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
beded541a7
commit
15bf460317
@ -219,7 +219,7 @@ class WP_Term_Query {
|
||||
$query = $this->query_vars;
|
||||
}
|
||||
|
||||
$taxonomies = isset( $query['taxonomy'] ) ? $query['taxonomy'] : null;
|
||||
$taxonomies = isset( $query['taxonomy'] ) ? (array) $query['taxonomy'] : null;
|
||||
|
||||
/**
|
||||
* Filters the terms query default arguments.
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-RC1-38180';
|
||||
$wp_version = '4.6-RC1-38182';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user