wordpress-develop/tests
Jonny Harris 34d46cd501 Taxonomy: Use get_terms instead of a database lookup in term_exists().
Replace raw SQL queries to the terms table, with a call to the `get_terms` function. Using `get_terms` means that `term_exists` is now cached. For developers using `term_exists` where cache invalidation is disabled, such as importing, a workaround was added to ensure that queries are uncached. 

Props Spacedmonkey, boonebgorges, flixos90, peterwilsoncc. 
Fixes #36949. 


git-svn-id: https://develop.svn.wordpress.org/trunk@52921 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-11 11:05:02 +00:00
..
e2e Build/Test Tools: Add trash and restore of a single post e2e tests. 2022-03-10 16:26:56 +00:00
gutenberg Block Editor: Update the Gutenberg branch used to launch Gutenberg e2e tests. 2021-06-01 09:21:36 +00:00
phpunit Taxonomy: Use get_terms instead of a database lookup in term_exists(). 2022-03-11 11:05:02 +00:00
qunit Tests: Update qUnit test fixtures after [52535]. 2022-01-06 23:23:23 +00:00
visual-regression Build/Test Tools: Introduce local visual regression testing. 2021-11-02 21:03:10 +00:00