Changeset 50463 for trunk/tests/phpunit/tests/theme/WPTheme.php
- Timestamp:
- 03/01/2021 06:42:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/WPTheme.php
r48939 r50463 21 21 function tearDown() { 22 22 $GLOBALS['wp_theme_directories'] = $this->orig_theme_dir; 23 remove_filter( 'theme_root', array( $this, '_theme_root' ) );24 remove_filter( 'stylesheet_root', array( $this, '_theme_root' ) );25 remove_filter( 'template_root', array( $this, '_theme_root' ) );26 23 wp_clean_themes_cache(); 27 24 unset( $GLOBALS['wp_themes'] );
Note: See TracChangeset
for help on using the changeset viewer.