Changeset 29250
- Timestamp:
- 07/19/2014 11:13:19 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-default-constants.php
r29200 r29250 115 115 * 116 116 * @since 3.0.0 117 *118 * @global boolean $subdomain_error119 * @global boolean $subdomain_error_warn120 117 */ 121 118 function ms_subdomain_constants() { 122 global $subdomain_error, $subdomain_error_warn; 119 static $subdomain_error = null; 120 static $subdomain_error_warn = null; 123 121 124 122 if ( false === $subdomain_error ) { -
trunk/tests/phpunit/tests/ms.php
r29200 r29250 24 24 parent::tearDown(); 25 25 $wpdb->suppress_errors( $this->suppress ); 26 }27 28 /**29 * @ticket 2869730 */31 function test_ms_subdomain_constants() {32 global $subdomain_error;33 34 $this->assertFalse( $subdomain_error );35 ms_subdomain_constants();36 $this->assertFalse( $subdomain_error );37 26 } 38 27
Note: See TracChangeset
for help on using the changeset viewer.