diff --git wp-includes/ms-blogs.php wp-includes/ms-blogs.php
index 966fb73..ebcc06b 100644
--- wp-includes/ms-blogs.php
+++ wp-includes/ms-blogs.php
@@ -39,7 +39,7 @@ function wpmu_update_blogs_date() {
  */
 function get_blogaddress_by_id( $blog_id ) {
 	$bloginfo = get_blog_details( (int) $blog_id, false ); // only get bare details!
-	return ( $bloginfo ) ? esc_url( 'http://' . $bloginfo->domain . $bloginfo->path ) : '';
+	return ( $bloginfo ) ? esc_url( set_url_scheme( 'http://' . $bloginfo->domain . $bloginfo->path ) ) : '';
 }
 
 /**
