Changeset 53157 for trunk/src/wp-includes/blocks/query-pagination-next.php
- Timestamp:
- 04/12/2022 03:10:30 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/query-pagination-next.php
r52551 r53157 22 22 $wrapper_attributes = get_block_wrapper_attributes(); 23 23 $default_label = __( 'Next Page' ); 24 $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? $attributes['label']: $default_label;24 $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? esc_html( $attributes['label'] ) : $default_label; 25 25 $pagination_arrow = get_query_pagination_arrow( $block, true ); 26 26 27 if ( $pagination_arrow ) { 27 28 $label .= $pagination_arrow;
Note: See TracChangeset
for help on using the changeset viewer.