diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php
index bbc6fe2d66..e185ceb40e 100644
--- a/wp-includes/class-wp-comment-query.php
+++ b/wp-includes/class-wp-comment-query.php
@@ -481,7 +481,8 @@ class WP_Comment_Query {
 		$_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) );
 
 		// Convert to WP_Comment instances.
-		$comments = array_map( 'get_comment', $_comments );
+		array_walk( $_comments, 'get_comment' );
+		$comments = $_comments;
 
 		if ( $this->query_vars['hierarchical'] ) {
 			$comments = $this->fill_descendants( $comments );
diff --git a/wp-includes/version.php b/wp-includes/version.php
index fb4dade518..b2da042c2a 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -13,7 +13,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '5.6-alpha-48837';
+$wp_version = '5.6-alpha-48838';
 
 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.