Ticket #10719: my-patch.diff
File my-patch.diff, 690 bytes (added by , 15 years ago) |
---|
-
wpmu-settings.php
164 164 if( defined( "WP_INSTALLING" ) == false ) { 165 165 if( $current_site && $current_blog == null ) { 166 166 if( $current_site->domain != $_SERVER[ 'HTTP_HOST' ] ) { 167 header( "Location: http://" . $current_site->domain . $ current_site->path);167 header( "Location: http://" . $current_site->domain . $_SERVER['REQUEST_URI'] ); 168 168 exit; 169 169 } 170 170 $current_blog = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->blogs WHERE domain = %s AND path = %s", $current_site->domain, $current_site->path) );