| 1 | Index: ms-settings.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- ms-settings.php (revision 23736) |
|---|
| 4 | +++ ms-settings.php (working copy) |
|---|
| 5 | @@ -74,6 +74,9 @@ |
|---|
| 6 | $current_blog = wp_cache_get( 'current_blog_' . $domain . $path, 'site-options' ); |
|---|
| 7 | if ( ! $current_blog ) { |
|---|
| 8 | $current_blog = get_blog_details( array( 'domain' => $domain, 'path' => $path ), false ); |
|---|
| 9 | + if ( ! $current_blog ) { |
|---|
| 10 | + $current_blog = get_blog_details( array( 'domain' => $domain, 'path' => '/' ), false ); |
|---|
| 11 | + } |
|---|
| 12 | if ( $current_blog ) |
|---|
| 13 | wp_cache_set( 'current_blog_' . $domain . $path, $current_blog, 'site-options' ); |
|---|
| 14 | } |
|---|