Skip to content
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment