wordpress-develop/tests/phpunit/tests/term
Boone Gorges 642e826cd9 Don't force child_of=0 for non-hierarchical taxonomies in get_terms().
This forcing appears to have been introduced to save unnecessary queries, but
(a) in some cases it appeared to be causing *more* queries, and (b) it caused
incorrect results when the 'exclude_tree' param of `get_terms()` called
`get_terms()` on each item in the tree using the 'child_of' param.

Fixes #30275.

git-svn-id: https://develop.svn.wordpress.org/trunk@30265 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-06 21:46:18 +00:00
..
cache.php Clean up cache invalidation suspension global in unit tests. 2014-10-30 04:14:53 +00:00
getTerms.php Don't force child_of=0 for non-hierarchical taxonomies in get_terms(). 2014-11-06 21:46:18 +00:00
isObjectInTerm.php In in_object_in_term(), only check numeric string values against term_id. 2014-11-03 14:24:23 +00:00
query.php Improve WP_Tax_Query param sanitization for empty strings. 2014-10-26 22:56:36 +00:00
slashes.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
termExists.php Move term_exists() tests to their own file. 2014-10-30 18:52:37 +00:00