After [29200], switch back to using static vars instead of adding 2 globals, as per Sergey.

Fixes #28697.


git-svn-id: https://develop.svn.wordpress.org/trunk@29250 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-07-19 23:13:19 +00:00
parent a1aa518788
commit ca5d586b8e
2 changed files with 2 additions and 15 deletions

View File

@@ -25,17 +25,6 @@ class Tests_MS extends WP_UnitTestCase {
$wpdb->suppress_errors( $this->suppress );
}
/**
* @ticket 28697
*/
function test_ms_subdomain_constants() {
global $subdomain_error;
$this->assertFalse( $subdomain_error );
ms_subdomain_constants();
$this->assertFalse( $subdomain_error );
}
function test_remove_user_from_blog() {
$user1 = $this->factory->user->create_and_get();
$user2 = $this->factory->user->create_and_get();