Changeset 51568 for trunk/tests/phpunit/tests/general/wpResourceHints.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/general/wpResourceHints.php
r51462 r51568 11 11 private $old_wp_styles; 12 12 13 function set Up() {14 parent::set Up();13 function set_up() { 14 parent::set_up(); 15 15 $this->old_wp_scripts = isset( $GLOBALS['wp_scripts'] ) ? $GLOBALS['wp_scripts'] : null; 16 16 $this->old_wp_styles = isset( $GLOBALS['wp_styles'] ) ? $GLOBALS['wp_styles'] : null; … … 25 25 } 26 26 27 function tear Down() {27 function tear_down() { 28 28 $GLOBALS['wp_scripts'] = $this->old_wp_scripts; 29 29 $GLOBALS['wp_styles'] = $this->old_wp_styles; 30 parent::tear Down();30 parent::tear_down(); 31 31 } 32 32
Note: See TracChangeset
for help on using the changeset viewer.