wordpress-develop/tests/phpunit/tests/term
Boone Gorges a160be35b1 Bust term query cache when modifying term meta.
The 'last_changed' incrementor is used to invalidate the `get_terms()` query
cache. Since `get_terms()` queries may reference 'meta_query', changing term
metadata could change the results of the queries. So we invalidate the cache
on add, delete, and update.

See #10142.

git-svn-id: https://develop.svn.wordpress.org/trunk@34538 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-25 13:46:36 +00:00
..
cache.php Update individual term caches in get_terms(). 2014-12-17 16:38:44 +00:00
categoryExists.php Default $parent in category_exists() should default to null rather than 0. 2015-01-11 01:25:19 +00:00
getEditTermLink.php Use WP_TESTS_DOMAIN where it should be used in tests in place of hard-coded uses of example.org. 2015-09-24 21:01:10 +00:00
getTerm.php Add unit tests for get_term(). 2015-09-11 03:10:47 +00:00
getTermLink.php Don't allow $field param to be passed to get_term_link(). 2015-07-01 12:53:05 +00:00
getTerms.php Introduce metadata for taxonomy terms. 2015-09-25 03:58:59 +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
meta.php Bust term query cache when modifying term meta. 2015-09-25 13:46:36 +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
splitSharedTerm.php When splitting a shared 'nav_menu' term, ensure that nav items and theme locations are retained. 2015-08-12 14:06:21 +00:00
termExists.php Move term_exists() tests to their own file. 2014-10-30 18:52:37 +00:00
wpDeleteObjectTermRelationships.php Add tests for wp_delete_object_term_relationships(). 2015-01-02 14:02:54 +00:00
wpDeleteTerm.php In wp_delete_term(), the $deleted_term object passed to filters should be generated before term relationships are deleted. 2015-08-22 19:42:30 +00:00
wpGenerateTagCloud.php Use WP_TESTS_DOMAIN where it should be used in tests in place of hard-coded uses of example.org. 2015-09-24 21:01:10 +00:00
wpGetObjectTerms.php Introduce metadata for taxonomy terms. 2015-09-25 03:58:59 +00:00
wpInsertTerm.php Move and tests to their own files. 2015-03-18 13:27:15 +00:00
wpUniqueTermSlug.php Improve unit tests for wp_unique_term_slug(). 2015-05-15 20:37:51 +00:00
wpUpdateTerm.php wp_update_term() should return a true integer for 'term_taxonomy_id'. 2015-08-19 19:32:04 +00:00