Changeset 51568 for trunk/tests/phpunit/tests/customize/widgets.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/widgets.php
r51565 r51568 21 21 protected $backup_registered_sidebars; 22 22 23 function set Up() {24 parent::set Up();23 function set_up() { 24 parent::set_up(); 25 25 require_once ABSPATH . WPINC . '/class-wp-customize-manager.php'; 26 26 … … 91 91 } 92 92 93 function tear Down() {93 function tear_down() { 94 94 $this->manager = null; 95 95 unset( $GLOBALS['wp_customize'] ); 96 96 unset( $GLOBALS['wp_scripts'] ); 97 97 $GLOBALS['wp_registered_sidebars'] = $this->backup_registered_sidebars; 98 parent::tear Down();98 parent::tear_down(); 99 99 } 100 100
Note: See TracChangeset
for help on using the changeset viewer.