Changeset 56849 for trunk/src/wp-includes/blocks/pattern.php
- Timestamp:
- 10/12/2023 01:55:27 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/pattern.php
r56710 r56849 8 8 /** 9 9 * Registers the `core/pattern` block on the server. 10 *11 * @return void12 10 */ 13 11 function register_block_core_pattern() { … … 47 45 // This can be removed when the minimum supported WordPress is >= 6.4. 48 46 if ( defined( 'IS_GUTENBERG_PLUGIN' ) && IS_GUTENBERG_PLUGIN && ! function_exists( 'traverse_and_serialize_blocks' ) ) { 49 $content = _inject_theme_attribute_in_block_template_content( $content );50 47 $blocks = parse_blocks( $content ); 51 48 $content = gutenberg_serialize_blocks( $blocks );
Note: See TracChangeset
for help on using the changeset viewer.