Changeset 52042 for trunk/src/wp-includes/blocks/query-pagination-next.php
- Timestamp:
- 11/08/2021 02:26:27 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/query-pagination-next.php
r51051 r52042 21 21 22 22 $wrapper_attributes = get_block_wrapper_attributes(); 23 $default_label = __( 'Next Page »' );23 $default_label = __( 'Next Page' ); 24 24 $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? $attributes['label'] : $default_label; 25 $content = ''; 25 $pagination_arrow = get_query_pagination_arrow( $block, true ); 26 if ( $pagination_arrow ) { 27 $label .= $pagination_arrow; 28 } 29 $content = ''; 26 30 27 31 // Check if the pagination is for Query that inherits the global context.
Note: See TracChangeset
for help on using the changeset viewer.