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