diff --git wp-includes/ms-functions.php wp-includes/ms-functions.php
index 20a183d..07f2ace 100644
--- wp-includes/ms-functions.php
+++ wp-includes/ms-functions.php
@@ -318,6 +318,7 @@ function get_blog_id_from_url( $domain, $path = '/' ) {
 		'domain' => $domain,
 		'path' => $path,
 		'fields' => 'ids',
+		'number' => 1,
 	);
 	$result = get_sites( $args );
 	$id = array_shift( $result );
