Remove a cache-busting hack from Tests_Term_getTerms::test_get_terms_exclude_tree()
. It is no longer necessary after #14485 and #25711.
See [27300]. Props SergeyBiryukov. Fixes #27313. git-svn-id: https://develop.svn.wordpress.org/trunk@27459 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3010c5aa20
commit
613b28cc81
@ -165,9 +165,6 @@ class Tests_Term_getTerms extends WP_UnitTestCase {
|
||||
$term_id2 = $this->factory->category->create();
|
||||
$term_id22 = $this->factory->category->create( array( 'parent' => $term_id2 ) );
|
||||
|
||||
// There's something else broken in the cache cleaning routines that leads to this having to be done manually
|
||||
delete_option( 'category_children' );
|
||||
|
||||
$terms = get_terms( 'category', array(
|
||||
'exclude' => $term_id_uncategorized,
|
||||
'fields' => 'ids',
|
||||
|
Loading…
Reference in New Issue
Block a user