Make WordPress Core


Ignore:
Timestamp:
02/07/2023 07:01:56 AM (2 years ago)
Author:
youknowriad
Message:

Block Editor: Updated the WordPress packages to include Gutenberg 15.1.0 changes.

In addition to all the packages being updated to the latest versions,
this commit also includes some mandatory changes to avoid editor breakage:

  • Update React to to 18.2.0.
  • Add the right stylesheets to support iframed block editors.

Props ntsekouras, mamaduka, flixos90, desrosj, peterwilsoncc.
See #57471.

File:
1 edited

Legend:

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

    r54257 r55246  
    1919    }
    2020
     21    $classes            = ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) ? 'has-link-color' : '';
    2122    $wrapper_attributes = get_block_wrapper_attributes(
    2223        array(
    2324            'aria-label' => __( 'Pagination' ),
     25            'class'      => $classes,
    2426        )
    2527    );
Note: See TracChangeset for help on using the changeset viewer.