Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#27313 closed defect (bug) (fixed)

Remove cache clearing workaround from test_get_terms_exclude_tree()

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: wonderboymusic's profile wonderboymusic
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.9
Component: Taxonomy Keywords: has-patch commit
Focuses: Cc:

Description

test_get_terms_exclude_tree() has a workaround for clearing taxonomy cache:
tags/3.8.1/tests/phpunit/tests/term/getTerms.php#L168 (added in [25933]).

It's no longer needed after the changes in #14485 and #25711.

Attachments (1)

27313.patch (653 bytes) - added by SergeyBiryukov 11 years ago.

Download all attachments as: .zip

Change History (2)

#1 @wonderboymusic
11 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to closed

In 27459:

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.

Note: See TracTickets for help on using tickets.