Skip to content

Commit 7ce9d9f

Browse files
jehervewestonruter
andauthored
Remove unnecessary removal
Co-authored-by: Weston Ruter <[email protected]>
1 parent 1ac21ca commit 7ce9d9f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/phpunit/tests/functions/wpGetArchives.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,5 @@ function ( $limit, $parsed_args ) {
249249
$this->assertStringContainsString( $title1, $archives_with_filter );
250250
$this->assertStringContainsString( $title2, $archives_with_filter );
251251
$this->assertStringNotContainsString( $title3, $archives_with_filter );
252-
253-
// Remove filter.
254-
remove_all_filters( 'getarchives_limit' );
255252
}
256253
}

0 commit comments

Comments
 (0)