diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php
index e731f5bd5b..1a1e92015a 100644
|
a
|
b
|
function get_query_pagination_arrow( $block, $is_next ) { |
| 1228 | 1228 | $arrow_attribute = $block->context['paginationArrow']; |
| 1229 | 1229 | $arrow = $arrow_map[ $block->context['paginationArrow'] ][ $pagination_type ]; |
| 1230 | 1230 | $arrow_classes = "wp-block-query-pagination-$pagination_type-arrow is-arrow-$arrow_attribute"; |
| 1231 | | return "<span class='$arrow_classes'>$arrow</span>"; |
| | 1231 | return "<span class='$arrow_classes' aria-hidden='true'>$arrow</span>"; |
| 1232 | 1232 | } |
| 1233 | 1233 | return null; |
| 1234 | 1234 | } |
| … |
… |
function get_comments_pagination_arrow( $block, $pagination_type = 'next' ) { |
| 1377 | 1377 | $arrow_attribute = $block->context['comments/paginationArrow']; |
| 1378 | 1378 | $arrow = $arrow_map[ $block->context['comments/paginationArrow'] ][ $pagination_type ]; |
| 1379 | 1379 | $arrow_classes = "wp-block-comments-pagination-$pagination_type-arrow is-arrow-$arrow_attribute"; |
| 1380 | | return "<span class='$arrow_classes'>$arrow</span>"; |
| | 1380 | return "<span class='$arrow_classes' aria-hidden='true'>$arrow</span>"; |
| 1381 | 1381 | } |
| 1382 | 1382 | return null; |
| 1383 | 1383 | } |