Changeset 47122 for trunk/tests/phpunit/tests/admin/includesTheme.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesTheme.php
r46586 r47122 16 16 add_filter( 'template_root', array( $this, '_theme_root' ) ); 17 17 18 // clear caches18 // Clear caches. 19 19 wp_clean_themes_cache(); 20 20 unset( $GLOBALS['wp_themes'] ); … … 32 32 } 33 33 34 // replace the normal theme root dir with our premade test dir34 // Replace the normal theme root directory with our premade test directory. 35 35 function _theme_root( $dir ) { 36 36 return $this->theme_root;
Note: See TracChangeset
for help on using the changeset viewer.