This commit is contained in:
Hanson.xyz Dev
2026-01-04 17:50:08 -06:00
parent 7e45ce0756
commit acc8ac87a0
4131 changed files with 232562 additions and 250244 deletions
+7 -2
View File
@@ -25,10 +25,15 @@ function render_block_core_comments_pagination( $attributes, $content ) {
}
$classes = ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) ? 'has-link-color' : '';
$wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classes ) );
$wrapper_attributes = get_block_wrapper_attributes(
array(
'aria-label' => __( 'Comments pagination' ),
'class' => $classes,
)
);
return sprintf(
'<div %1$s>%2$s</div>',
'<nav %1$s>%2$s</nav>',
$wrapper_attributes,
$content
);