commit 84106482dbe96cac84fb8e11ed41f5307f03c2da
Author: Beau Beveridge <bbeveridge@2co.com>
Date: Thu Apr 7 15:43:35 2011 -0400
quick fix (core edit)
diff --git a/wp-includes/ms-settings.php b/wp-includes/ms-settings.php
index 9022313..eaf90b7 100644
a
|
b
|
if ( !isset( $current_site ) || !isset( $current_blog ) ) { |
98 | 98 | if ( ! defined( 'WP_INSTALLING' ) ) { |
99 | 99 | if ( $current_site && ! $current_blog ) { |
100 | 100 | if ( $current_site->domain != $_SERVER[ 'HTTP_HOST' ] ) { |
101 | | header( 'Location: http://' . $current_site->domain . $current_site->path ); |
| 101 | header( 'Location: http://' . $current_site->domain . $_SERVER['REQUEST_URI'] ); |
102 | 102 | exit; |
103 | 103 | } |
104 | 104 | $current_blog = get_blog_details( array( 'domain' => $current_site->domain, 'path' => $current_site->path ), false ); |