Make WordPress Core

Changeset 27459


Ignore:
Timestamp:
03/07/2014 07:35:55 PM (11 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/term/getTerms.php

    r27458 r27459  
    165165        $term_id2 = $this->factory->category->create();
    166166        $term_id22 = $this->factory->category->create( array( 'parent' => $term_id2 ) );
    167 
    168         // There's something else broken in the cache cleaning routines that leads to this having to be done manually
    169         delete_option( 'category_children' );
    170167
    171168        $terms = get_terms( 'category', array(
Note: See TracChangeset for help on using the changeset viewer.