WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/06/2021 02:36:26 PM (3 months ago)
Author:
youknowriad
Message:

Block Editor: Update packages with latest fixes for 5.8 RC2

Includes the following fixes:

  • [Block Library]: Less warnings when blocks try to render themselves.
  • Reset z-index on focused widget form
  • Refactor appender margin.
  • Fix slash inserter for widgets screen.
  • Widget screens: set html block as freeform content handler.
  • Widget Block: widget_id is undefined when a widget is placed.
  • Add <CopyHandler> to WidgetAreasBlockEditorProvider
  • Add width: 100% to components-base-control inside wp-block-legacy-widget
  • [Widgets editor] Replace the "technical" error notice a more user-friendly one
  • Fix legacy widget height overflow
  • Fix "Select all" behavior in the editor
  • Increase specificity of the NoPreview CSS rules to avoid conflicts with theme styles
  • Fix move to widget area checkmark
  • Replace legacy widget icon with its new version
  • [Block Library - Query Loop]: Set default block variations not to inherit from global query

See #53397.

File:
1 edited

Legend:

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

    r50761 r51344  
    2626
    2727    if ( isset( $seen_refs[ $attributes['ref'] ] ) ) {
    28         if ( ! is_admin() ) {
    29             trigger_error(
    30                 sprintf(
    31                     // translators: %s is the user-provided title of the reusable block.
    32                     __( 'Could not render Reusable Block <strong>%s</strong>. Block cannot be rendered inside itself.' ),
    33                     $reusable_block->post_title
    34                 ),
    35                 E_USER_WARNING
    36             );
    37         }
    38 
    3928        // WP_DEBUG_DISPLAY must only be honored when WP_DEBUG. This precedent
    4029        // is set in `wp_debug_mode()`.
Note: See TracChangeset for help on using the changeset viewer.