Changeset 48908
- Timestamp:
- 08/31/2020 03:57:50 AM (4 years ago)
- Location:
- trunk/tests/phpunit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/abstract-testcase.php
r48464 r48908 161 161 $GLOBALS[ $global ] = null; 162 162 } 163 164 // Reset $wp_sitemap global so that sitemap-related dynamic $wp->public_query_vars are added when the next test runs. 165 $GLOBALS['wp_sitemaps'] = null; 163 166 164 167 $this->unregister_all_meta_keys(); -
trunk/tests/phpunit/tests/query/vars.php
r47018 r48908 10 10 /** 11 11 * @ticket 35115 12 * @ticket 51154 12 13 */ 13 14 public function testPublicQueryVarsAreAsExpected() { … … 71 72 'post_format', 72 73 'rest_route', 74 'sitemap', 75 'sitemap-subtype', 76 'sitemap-stylesheet', 73 77 74 78 ),
Note: See TracChangeset
for help on using the changeset viewer.