--- a/wp/wp-includes/blocks/comments-pagination-previous.php Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/blocks/comments-pagination-previous.php Fri Sep 05 18:40:08 2025 +0200
@@ -8,6 +8,8 @@
/**
* Renders the `core/comments-pagination-previous` block on the server.
*
+ * @since 6.0.0
+ *
* @param array $attributes Block attributes.
* @param string $content Block default content.
* @param WP_Block $block Block instance.
@@ -22,7 +24,7 @@
$label = $pagination_arrow . $label;
}
- $filter_link_attributes = function() {
+ $filter_link_attributes = static function () {
return get_block_wrapper_attributes();
};
add_filter( 'previous_comments_link_attributes', $filter_link_attributes );
@@ -40,6 +42,8 @@
/**
* Registers the `core/comments-pagination-previous` block on the server.
+ *
+ * @since 6.0.0
*/
function register_block_core_comments_pagination_previous() {
register_block_type_from_metadata(