wordpress-develop/tests/phpunit/tests/term
Boone Gorges 18e09d246e Revert to pre-4.7 behavior for fetching object instances by id.
This changeset reverts [38381], which caused inconsistencies in the way the
REST API fetches posts and other objects.

See #38792, #37738.

git-svn-id: https://develop.svn.wordpress.org/trunk@39992 602fd350-edb4-49c9-b593-d223f7449a82
2017-01-26 16:52:51 +00:00
..
cache.php Taxonomy: Better error handling when fetching object terms from cache. 2016-10-11 01:55:58 +00:00
categoryExists.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
getEditTermLink.php Fix test related to cap check in get_edit_term_link(). 2016-03-14 01:51:12 +00:00
getTerm.php Make get_term() behave more consistently in the context of shared terms. 2015-11-05 16:44:59 +00:00
getTermBy.php Taxonomy: Use WP_Term_Query in get_term_by(). 2016-09-29 22:35:32 +00:00
getTermField.php Tests: Add some more test coverage for get_term_field(). 2015-10-19 03:28:49 +00:00
getTermLink.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
getTermParentsList.php Taxonomy: Introduce get_term_parents_list(). 2016-12-09 16:09:31 +00:00
getTerms.php Build/Test Tools: Remove many unnecessary calls to rand_str() which can, in theory, fail at random. Static strings are much more appropriate. 2016-08-26 20:21:30 +00:00
getTheTerms.php Build/Test Tools: Utilise assertWPError() and assertNotWPError() in more places. 2016-11-09 00:01:42 +00:00
isObjectInTerm.php In is_object_in_term(), return error object rather than caching it. 2016-08-18 19:14:52 +00:00
meta.php Allow term meta lazy-loading to be selectively disabled in WP_Query. 2016-05-28 03:09:09 +00:00
query.php Taxonomy: Cache results of term count queries. 2016-10-12 15:29:03 +00:00
slashes.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +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
taxQuery.php Build/Test Tools: Utilise assertWPError() and assertNotWPError() in more places. 2016-11-09 00:01:42 +00:00
termExists.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
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 Taxonomy: Pass object ids to delete_* actions. 2015-12-23 23:43:03 +00:00
wpGenerateTagCloud.php Better focus in tag cloud tests. 2015-12-17 17:11:07 +00:00
wpGetObjectTerms.php Taxonomy: Restore the ability to use string-based $args in wp_get_object_terms(). 2016-12-12 05:46:37 +00:00
wpInsertTerm.php Build/Test Tools: Utilise assertWPError() and assertNotWPError() in more places. 2016-11-09 00:01:42 +00:00
wpRemoveObjectTerms.php Bust object term cache in wp_remove_object_terms(). 2015-10-19 01:52:22 +00:00
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 Revert to pre-4.7 behavior for fetching object instances by id. 2017-01-26 16:52:51 +00:00
wpUniqueTermSlug.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
wpUpdateTerm.php Build/Test Tools: Utilise assertWPError() and assertNotWPError() in more places. 2016-11-09 00:01:42 +00:00