Changeset 53434
- Timestamp:
- 05/23/2022 02:10:33 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0/tests/phpunit/includes/abstract-testcase.php
r53432 r53434 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 ) {180 174 $GLOBALS[ $global ] = null; 181 175 }
Note: See TracChangeset
for help on using the changeset viewer.