Changeset 54138 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 09/12/2022 11:32:57 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r54132 r54138 1257 1257 $arrow = $arrow_map[ $block->context['paginationArrow'] ][ $pagination_type ]; 1258 1258 $arrow_classes = "wp-block-query-pagination-$pagination_type-arrow is-arrow-$arrow_attribute"; 1259 return "<span class='$arrow_classes' >$arrow</span>";1259 return "<span class='$arrow_classes' aria-hidden='true'>$arrow</span>"; 1260 1260 } 1261 1261 return null; … … 1406 1406 $arrow = $arrow_map[ $block->context['comments/paginationArrow'] ][ $pagination_type ]; 1407 1407 $arrow_classes = "wp-block-comments-pagination-$pagination_type-arrow is-arrow-$arrow_attribute"; 1408 return "<span class='$arrow_classes' >$arrow</span>";1408 return "<span class='$arrow_classes' aria-hidden='true'>$arrow</span>"; 1409 1409 } 1410 1410 return null;
Note: See TracChangeset
for help on using the changeset viewer.