Changeset 45486 for trunk/tests/phpunit/includes/abstract-testcase.php
- Timestamp:
- 05/31/2019 02:06:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/abstract-testcase.php
r45418 r45486 708 708 // to run them more than once without very carefully clearing everything 709 709 $_GET = $_POST = array(); 710 foreach ( array( 'query_string', 'id', 'postdata', 'authordata', 'day', 'currentmonth', 'page', 'pages', 'multipage', 'more', 'numpages', 'pagenow' ) as $v ) {710 foreach ( array( 'query_string', 'id', 'postdata', 'authordata', 'day', 'currentmonth', 'page', 'pages', 'multipage', 'more', 'numpages', 'pagenow', 'current_screen' ) as $v ) { 711 711 if ( isset( $GLOBALS[ $v ] ) ) { 712 712 unset( $GLOBALS[ $v ] );
Note: See TracChangeset
for help on using the changeset viewer.