mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-03 18:18:02 +02:00
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:
parent
5d3eb85af8
commit
94b419b058
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user