Index: src/wp-includes/ms-blogs.php
===================================================================
--- src/wp-includes/ms-blogs.php	(revision 40372)
+++ src/wp-includes/ms-blogs.php	(working copy)
@@ -445,7 +445,7 @@
  *
  * @global bool $_wp_suspend_cache_invalidation
  *
- * @param WP_Site $blog The site object to be cleared from cache.
+ * @param WP_Site|int $blog The site object to be cleared from cache.
  */
 function clean_blog_cache( $blog ) {
 	global $_wp_suspend_cache_invalidation;
@@ -454,6 +454,10 @@
 		return;
 	}
 
+	if( is_object( $blog ) || is_numeric( $blog ) ) {
+		$blog = get_site( $blog );
+	}
+
 	$blog_id = $blog->blog_id;
 	$domain_path_key = md5( $blog->domain . $blog->path );
 
