Ticket #32636: 32636.patch
| File 32636.patch, 965 bytes (added by , 11 years ago) |
|---|
-
tests/phpunit/includes/install.php
15 15 16 16 $_SERVER['SERVER_PROTOCOL'] = 'HTTP/1.1'; 17 17 $_SERVER['HTTP_HOST'] = WP_TESTS_DOMAIN; 18 $_SERVER['REQUEST_METHOD'] = 'GET'; 18 19 $PHP_SELF = $GLOBALS['PHP_SELF'] = $_SERVER['PHP_SELF'] = '/index.php'; 19 20 20 21 require_once ABSPATH . '/wp-settings.php'; -
tests/phpunit/includes/bootstrap.php
37 37 38 38 $_SERVER['SERVER_PROTOCOL'] = 'HTTP/1.1'; 39 39 $_SERVER['HTTP_HOST'] = WP_TESTS_DOMAIN; 40 $_SERVER['REQUEST_METHOD'] = 'GET'; 40 41 $PHP_SELF = $GLOBALS['PHP_SELF'] = $_SERVER['PHP_SELF'] = '/index.php'; 41 42 42 43 if ( "1" == getenv( 'WP_MULTISITE' ) ||