Ticket #4732: 4732.2.diff
| File 4732.2.diff, 512 bytes (added by , 17 years ago) |
|---|
-
wp-settings.php
87 87 $_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; 88 88 } 89 89 } 90 // see: http://core.trac.wordpress.org/ticket/4732 91 } else { 92 $_SERVER['REQUEST_URI'] = preg_replace("|^https?://+[^/]+|i", $_SERVER['REQUEST_URI']); 90 93 } 91 94 92 95 // Fix for PHP as CGI hosts that set SCRIPT_FILENAME to something ending in php.cgi for all requests