Set current user to 0 after each unit test.
This prevents $current_user, $userdata, and other user-related globals from being polluted if a previous test does not properly reset the current user. Props nacin, mnelson4. Fixes #29712. Built from https://develop.svn.wordpress.org/trunk@30001 git-svn-id: http://core.svn.wordpress.org/trunk@30001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1df979dea5
commit
34f3c6faf2
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30000';
|
||||
$wp_version = '4.1-alpha-30001';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue