Make WordPress Core

Ticket #27313: 27313.patch

File 27313.patch, 653 bytes (added by SergeyBiryukov, 10 years ago)
  • tests/phpunit/tests/term/getTerms.php

     
    165165                $term_id2 = $this->factory->category->create();
    166166                $term_id22 = $this->factory->category->create( array( 'parent' => $term_id2 ) );
    167167
    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' );
    170 
    171168                $terms = get_terms( 'category', array(
    172169                        'exclude' => $term_id_uncategorized,
    173170                        'fields' => 'ids',