- Timestamp:
- 02/27/2021 05:08:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase-rest-controller.php
r46586 r50450 15 15 16 16 public function tearDown() { 17 parent::tearDown();18 17 remove_filter( 'rest_url', array( $this, 'test_rest_url_for_leading_slash' ), 10, 2 ); 19 18 /** @var WP_REST_Server $wp_rest_server */ 20 19 global $wp_rest_server; 21 20 $wp_rest_server = null; 21 parent::tearDown(); 22 22 } 23 23
Note: See TracChangeset
for help on using the changeset viewer.