Changeset 53430 for trunk/tests/phpunit/includes/abstract-testcase.php
- Timestamp:
- 05/23/2022 11:54:28 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/abstract-testcase.php
r53349 r53430 172 172 $current_screen_globals = array( 'current_screen', 'taxnow', 'typenow' ); 173 173 foreach ( $current_screen_globals as $global ) { 174 $GLOBALS[ $global ] = null; 175 } 176 177 // Reset comment globals. 178 $comment_globals = array( 'comment_alt', 'comment_depth', 'comment_thread_alt' ); 179 foreach ( $comment_globals as $global ) { 174 180 $GLOBALS[ $global ] = null; 175 181 }
Note: See TracChangeset
for help on using the changeset viewer.