mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Tests: Reset $current_screen
global between tests to avoid cross-test interdependencies.
This provides a consistent global starting state for tests that interact with admin screens. Individual tests no longer need to invoke `set_current_screen( 'front' )` (or an alternative implementation) as a reset. Follow-up to [29251], [29860], [31046], [36721], [38678], [48908], [50433]. Props hellofromTonya, johnbillion. Fixes #53431. Built from https://develop.svn.wordpress.org/trunk@51419 git-svn-id: http://core.svn.wordpress.org/trunk@51030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f1e1a53f5a
commit
8b2e5e7843
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51418';
|
||||
$wp_version = '5.9-alpha-51419';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user