diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index 7fb628cd72..d4bb42f616 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -1362,6 +1362,7 @@ function domain_exists( $domain, $path, $network_id = 1 ) { 'domain' => $domain, 'path' => $path, 'fields' => 'ids', + 'number' => 1, ); $result = get_sites( $args ); $result = array_shift( $result );