Make WordPress Core


Ignore:
Timestamp:
11/08/2021 02:26:27 PM (3 years ago)
Author:
youknowriad
Message:

Block Editor: Update the WordPress Packages based on Gutenberg 11.9 RC1.

This brings the JS packages up to date and is the first step that will allow us
to include the other block editor updates for WordPress 5.9:
FSE infrastrucutre, site editor and global styles.

Props noisysocks.
See #54337.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/query-pagination-next.php

    r51051 r52042  
    2121
    2222    $wrapper_attributes = get_block_wrapper_attributes();
    23     $default_label      = __( 'Next Page »' );
     23    $default_label      = __( 'Next Page' );
    2424    $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 = '';
    2630
    2731    // Check if the pagination is for Query that inherits the global context.
Note: See TracChangeset for help on using the changeset viewer.