diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index ea2fec15c8..7fb628cd72 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -342,6 +342,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 );