Tests: Reset the $wp_sitemap global after each test, so that sitemaps are re-initialized when the next test runs.

This ensures consistent results in query var tests, regardless of whether they are run in isolation or as part of a larger group of tests.

Props pbiron, peterwilsoncc.
Merges [48908] to the 5.5 branch.
Fixes #51154.
Built from https://develop.svn.wordpress.org/branches/5.5@48914


git-svn-id: http://core.svn.wordpress.org/branches/5.5@48676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2020-08-31 17:53:07 +00:00
parent 5d3eb85af8
commit 94b419b058

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5.1-RC1-48902';
$wp_version = '5.5.1-RC1-48914';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.