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/block.php

    r53157 r55246  
    2828        // WP_DEBUG_DISPLAY must only be honored when WP_DEBUG. This precedent
    2929        // is set in `wp_debug_mode()`.
    30         $is_debug = defined( 'WP_DEBUG' ) && WP_DEBUG &&
    31             defined( 'WP_DEBUG_DISPLAY' ) && WP_DEBUG_DISPLAY;
     30        $is_debug = WP_DEBUG && WP_DEBUG_DISPLAY;
    3231
    3332        return $is_debug ?
Note: See TracChangeset for help on using the changeset viewer.