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