Make WordPress Core


Ignore:
Timestamp:
02/07/2023 07:01:56 AM (20 months 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/comments-pagination.php

    r53338 r55246  
    2323    }
    2424
     25    $classes            = ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) ? 'has-link-color' : '';
     26    $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classes ) );
     27
    2528    return sprintf(
    2629        '<div %1$s>%2$s</div>',
    27         get_block_wrapper_attributes(),
     30        $wrapper_attributes,
    2831        $content
    2932    );
Note: See TracChangeset for help on using the changeset viewer.