Wordpress/tests
Boone Gorges 5bcee9e939 In get_terms(), check hierarchy for all $taxonomies before bailing early from 'parent' or 'child_of'.
There is a pre-check in `get_terms()` that prevents an unnecessary database
query if the 'parent' or 'child_of' parameter is not found in the cached term
hierarchy (since a term without an index in the hierarchy cache has no
descendants). Previously, only the first item in the `$taxonomies` array was
being checked, with the result that an empty array was being erroneously
returned in cases where the 'parent' or 'child_of' term is in a subsequent
taxonomy.

See #31118.

git-svn-id: https://develop.svn.wordpress.org/trunk@31276 602fd350-edb4-49c9-b593-d223f7449a82
2015-01-25 02:45:11 +00:00
..
phpunit In get_terms(), check hierarchy for all $taxonomies before bailing early from 'parent' or 'child_of'. 2015-01-25 02:45:11 +00:00
qunit Add jQuery UI Core as a dependency for qUnit tests 2014-12-23 00:16:52 +00:00