wp/wp-includes/blocks/comments-pagination-next.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
--- a/wp/wp-includes/blocks/comments-pagination-next.php	Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/blocks/comments-pagination-next.php	Fri Sep 05 18:52:52 2025 +0200
@@ -37,7 +37,7 @@
 		$label .= $pagination_arrow;
 	}
 
-	$next_comments_link = get_next_comments_link( $label, $max_page );
+	$next_comments_link = get_next_comments_link( $label, $max_page, $comment_vars['paged'] ?? null );
 
 	remove_filter( 'next_posts_link_attributes', $filter_link_attributes );