Wordpress/tests/phpunit/tests/term
Boone Gorges 1721af83d1 Taxonomy: Ignore cached term value when it doesn't match the queried taxonomy.
When a cache entry is found that matches the requested `$term_id`, but
doesn't match an explicitly provided `$taxonomy`, that cache entry
should be ignored.

Props GunGeekATX.
Fixes #40671.

git-svn-id: https://develop.svn.wordpress.org/trunk@40979 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-01 11:45:09 +00:00
..
cache.php Taxonomy: Better error handling when fetching object terms from cache. 2016-10-11 01:55:58 +00:00
categoryExists.php
getEditTermLink.php
getTerm.php
getTermBy.php Improve querying for terms with falsey names and slugs. 2017-03-16 02:03:53 +00:00
getTermField.php
getTermLink.php
getTermParentsList.php Taxonomy: Introduce get_term_parents_list(). 2016-12-09 16:09:31 +00:00
getTerms.php Improve querying for terms with falsey names and slugs. 2017-03-16 02:03:53 +00:00
getTheTerms.php Invalidate term query caches when setting or deleting term relationships. 2017-03-30 16:49:47 +00:00
isObjectInTerm.php
meta.php Add term meta support to XML-RPC addTerm and editTerm endpoints. 2017-06-18 10:39:12 +00:00
query.php Restore support for taxonomy 'args' override when querying object terms. 2017-04-21 19:13:51 +00:00
slashes.php
splitSharedTerm.php
taxQuery.php Use WP_Term_Query when transforming tax queries. 2017-06-21 03:56:25 +00:00
termExists.php
wpDeleteObjectTermRelationships.php
wpDeleteTerm.php
wpGenerateTagCloud.php Widgets: Remove the title attributes used in the Tag cloud widget. 2017-05-22 20:23:49 +00:00
wpGetObjectTerms.php Fix the formatting of $taxonomies parameter of 'wp_get_object_terms' filter. 2017-03-14 18:41:26 +00:00
wpInsertTerm.php Taxonomy: Take 'parent' into account when checking for terms with duplicate names. 2017-03-03 02:49:13 +00:00
wpRemoveObjectTerms.php
wpSetObjectTerms.php Build/Test Tools: Utilise assertWPError() and assertNotWPError() in more places. 2016-11-09 00:01:42 +00:00
wpTaxonomy.php Build/Test Tools: Add assertNotFalse() method to WP_UnitTestCase and use it where appropriate. 2017-01-17 03:39:36 +00:00
wpTerm.php Taxonomy: Ignore cached term value when it doesn't match the queried taxonomy. 2017-07-01 11:45:09 +00:00
wpUniqueTermSlug.php
wpUpdateTerm.php Build/Test Tools: Utilise assertWPError() and assertNotWPError() in more places. 2016-11-09 00:01:42 +00:00