Changeset 47122 for trunk/tests/phpunit/tests/customize/widgets.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/widgets.php
r46586 r47122 31 31 $this->manager = $GLOBALS['wp_customize']; 32 32 33 unset( $GLOBALS['_wp_sidebars_widgets'] ); // clear out cache set by wp_get_sidebars_widgets()33 unset( $GLOBALS['_wp_sidebars_widgets'] ); // Clear out cache set by wp_get_sidebars_widgets(). 34 34 $sidebars_widgets = wp_get_sidebars_widgets(); 35 35 $this->assertEqualSets( array( 'wp_inactive_widgets', 'sidebar-1', 'sidebar-2' ), array_keys( wp_get_sidebars_widgets() ) );
Note: See TracChangeset
for help on using the changeset viewer.