Make WordPress Core


Ignore:
Timestamp:
02/07/2025 03:44:07 PM (11 months ago)
Author:
joemcgill
Message:

Editor: Update packages for 6.8 pre-Betas.

Syncs @wordpress/* packages to the 'latest' npm tag.

Props mamaduka, joemcgill, youknowriad, swissspidy, sergiomdgomes, gziolo.
See #62887.

File:
1 edited

Legend:

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

    r58187 r59775  
    5959    $content = $pattern['content'];
    6060
    61     // Backward compatibility for handling Block Hooks and injecting the theme attribute in the Gutenberg plugin.
    62     // This can be removed when the minimum supported WordPress is >= 6.4.
    63     if ( defined( 'IS_GUTENBERG_PLUGIN' ) && IS_GUTENBERG_PLUGIN && ! function_exists( 'traverse_and_serialize_blocks' ) ) {
    64         $blocks  = parse_blocks( $content );
    65         $content = gutenberg_serialize_blocks( $blocks );
    66     }
    67 
    6861    $seen_refs[ $attributes['slug'] ] = true;
    6962
Note: See TracChangeset for help on using the changeset viewer.