Changeset 51568 for trunk/tests/phpunit/tests/customize/control.php
- Timestamp:
- 08/07/2021 10:29:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/control.php
r51462 r51568 25 25 * Set up. 26 26 */ 27 function set Up() {28 parent::set Up();27 function set_up() { 28 parent::set_up(); 29 29 wp_set_current_user( $this->factory()->user->create( array( 'role' => 'administrator' ) ) ); 30 30 require_once ABSPATH . WPINC . '/class-wp-customize-manager.php'; … … 173 173 * Tear down. 174 174 */ 175 function tear Down() {175 function tear_down() { 176 176 $this->wp_customize = null; 177 177 unset( $GLOBALS['wp_customize'] ); 178 parent::tear Down();178 parent::tear_down(); 179 179 } 180 180 }
Note: See TracChangeset
for help on using the changeset viewer.