diff --git a/wp-includes/ms-settings.php b/wp-includes/ms-settings.php
index 7b35e76..e5ff0e5 100644
|
a
|
b
|
if ( !isset( $current_site ) || !isset( $current_blog ) ) { |
| 109 | 109 | $current_site = wp_get_network( $current_blog->site_id ); |
| 110 | 110 | } |
| 111 | 111 | |
| | 112 | /** |
| | 113 | * Fires after the domain lookup process. |
| | 114 | * |
| | 115 | * This is a good time to hook in and set a default `$current_site` global |
| | 116 | * if one hasn't been determined, or to do any custom lookup handling. |
| | 117 | * |
| | 118 | * @param string $domain The domain used during the lookup process. |
| | 119 | * @param string $path The path used during the lookup process. |
| | 120 | */ |
| | 121 | do_action( 'ms_site_lookup', $domain, $path ); |
| | 122 | |
| 112 | 123 | // No network has been found, bail. |
| 113 | 124 | if ( empty( $current_site ) ) { |
| 114 | 125 | ms_not_installed(); |