wip
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user