wordpress-develop/tests/phpunit/tests/term
Boone Gorges f744ee189e In in_object_in_term(), only check numeric string values against term_id.
The previous `in_array()` check was playing too loose with mixed types, such
that a string like '10_term_name' would incorrectly match a term_id 10.

Props nobinobi, realloc.
Fixes #29467.

git-svn-id: https://develop.svn.wordpress.org/trunk@30205 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 14:24:23 +00:00
..
cache.php Clean up cache invalidation suspension global in unit tests. 2014-10-30 04:14:53 +00:00
getTerms.php Streamline some get_terms() cache tests. 2014-10-30 04:15:03 +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