Commit 6aa31766 authored by Jonathan Desrosiers's avatar Jonathan Desrosiers
Browse files

Tests: Reset the `$wp_sitemap` global after each test, so that sitemaps are...

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: https://core.svn.wordpress.org/branches/5.5@48676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 2ade88ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.