Make WordPress Core


Ignore:
Timestamp:
05/31/2024 06:34:20 PM (22 months ago)
Author:
ellatrix
Message:

Editor: Update npm packages.

Updates the editor npm packages to latest versions.

Props vcanales.

Fixes #61339.

File:
1 edited

Legend:

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

    r58187 r58275  
    7979     * rendering via do_blocks given it only receives the inner content.
    8080     */
    81     $has_pattern_overrides = isset( $attributes['content'] );
     81    $has_pattern_overrides = isset( $attributes['content'] ) && null !== get_block_bindings_source( 'core/pattern-overrides' );
    8282    if ( $has_pattern_overrides ) {
    8383        $filter_block_context = static function ( $context ) use ( $attributes ) {
Note: See TracChangeset for help on using the changeset viewer.