Make WordPress Core


Ignore:
Timestamp:
06/15/2021 08:50:26 AM (3 years ago)
Author:
youknowriad
Message:

Block Editor: Update the WordPress packages with the fixes for 5.8 beta 2.

This includes:

Various

Template Editor

Widgets Editor

Global Styles (theme.json)

Performance

Props nosolosw, jorgefilipecosta, aristath, ntsekouras, peterwilsoncc, mcsf.
See #53397.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r51142 r51149  
    838838            $block_editor_context = new WP_Block_Editor_Context();
    839839
    840             $editor_settings = get_block_editor_settings( array(), $block_editor_context );
     840            $editor_settings = get_block_editor_settings(
     841                get_legacy_widget_block_editor_settings(),
     842                $block_editor_context
     843            );
    841844
    842845            wp_add_inline_script(
Note: See TracChangeset for help on using the changeset viewer.