Changeset 51568 for trunk/tests/phpunit/tests/dependencies/scripts.php
- Timestamp:
- 08/07/2021 10:29:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/scripts.php
r51563 r51568 15 15 protected $wp_scripts_print_translations_output; 16 16 17 function set Up() {18 parent::set Up();17 function set_up() { 18 parent::set_up(); 19 19 $this->old_wp_scripts = isset( $GLOBALS['wp_scripts'] ) ? $GLOBALS['wp_scripts'] : null; 20 20 remove_action( 'wp_default_scripts', 'wp_default_scripts' ); … … 35 35 } 36 36 37 function tear Down() {37 function tear_down() { 38 38 $GLOBALS['wp_scripts'] = $this->old_wp_scripts; 39 39 add_action( 'wp_default_scripts', 'wp_default_scripts' ); 40 parent::tear Down();40 parent::tear_down(); 41 41 } 42 42
Note: See TracChangeset
for help on using the changeset viewer.