Tests: Reset post-related globals after each test.
Globals like `$pages` were leaking between tests, resulting in various bits of weirdness. Globals will kill WordPress. Globals are killing WordPress. See #38196. Built from https://develop.svn.wordpress.org/trunk@38678 git-svn-id: http://core.svn.wordpress.org/trunk@38621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
324748a854
commit
cb68ce1fc4
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38677';
|
||||
$wp_version = '4.7-alpha-38678';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue