wordpress-develop/tests/phpunit/tests/term
Boone Gorges 39fb88f961 Taxonomy: Improve cache handling when querying for terms using all_with_object_id.
When a term query using `fields=all_with_object_id` hits the cache, the
cached `stdClass` objects must be converted to `WP_Term` objects. This
was overlooked when `WP_Term_Query` was refactored to support object
queries in [38667].

Props dlh.
Fixes #44221.

git-svn-id: https://develop.svn.wordpress.org/trunk@43313 602fd350-edb4-49c9-b593-d223f7449a82
2018-05-25 01:22:44 +00:00
..
cache.php Code is Poetry. 2017-11-30 23:09:33 +00:00
categoryExists.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getEditTermLink.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTagLink.php Fix regression in get_tag_link() since 4.9. 2017-12-04 20:51:27 +00:00
getTerm.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTermBy.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTermField.php Tests: Fix two typos introduced for a get_term_field() test in [35270]. 2018-02-03 17:10:51 +00:00
getTermLink.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTermParentsList.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTerms.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTheTerms.php Code is Poetry. 2017-11-30 23:09:33 +00:00
isObjectInTerm.php Code is Poetry. 2017-11-30 23:09:33 +00:00
meta.php Code is Poetry. 2017-11-30 23:09:33 +00:00
query.php Taxonomy: Improve cache handling when querying for terms using all_with_object_id. 2018-05-25 01:22:44 +00:00
slashes.php Code is Poetry. 2017-11-30 23:09:33 +00:00
splitSharedTerm.php Code is Poetry. 2017-11-30 23:09:33 +00:00
taxQuery.php Code is Poetry. 2017-11-30 23:09:33 +00:00
termExists.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpDeleteObjectTermRelationships.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
wpDeleteTerm.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpGenerateTagCloud.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpGetObjectTerms.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpInsertTerm.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpRemoveObjectTerms.php Bust object term cache in wp_remove_object_terms(). 2015-10-19 01:52:22 +00:00
wpSetObjectTerms.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpTaxonomy.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpTerm.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpUniqueTermSlug.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpUpdateTerm.php Code is Poetry. 2017-11-30 23:09:33 +00:00