Make WordPress Core


Ignore:
Timestamp:
10/21/2025 07:11:53 AM (13 months ago)
Author:
ellatrix
Message:

Editor: update packages.

Updates the packages to match Gutenberg version 21.9.0 RC2.

Also updates the sync script to work with the new package-lock.json format.
Some reusable block tests were adjusted to work with more render arguments.
Added core-data to the ignore list for verify:source-maps because Yjs has been bundled by accident. To be removed in a follow-up. See https://core.trac.wordpress.org/ticket/64120. See ​https://github.com/WordPress/gutenberg/pull/72503.

See: ​https://github.com/WordPress/wordpress-develop/pull/10355.
See: https://core.trac.wordpress.org/ticket/64117.

Props ellatrix, dmsnell.
Fixes #64117.

File:
1 edited

Legend:

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

    r58187 r61009  
    2626
    2727        $classes            = ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) ? 'has-link-color' : '';
    28         $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classes ) );
     28        $wrapper_attributes = get_block_wrapper_attributes(
     29                array(
     30                        'aria-label' => __( 'Comments pagination' ),
     31                        'class'      => $classes,
     32                )
     33        );
    2934
    3035        return sprintf(
    31                 '<div %1$s>%2$s</div>',
     36                '<nav %1$s>%2$s</nav>',
    3237                $wrapper_attributes,
    3338                $content
Note: See TracChangeset for help on using the changeset viewer.