From 31e6e2ce0580646e5846170db81e92e39cac5720 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Tue, 2 Jul 2024 10:43:16 +0000 Subject: [PATCH] Block Hooks: Fix a number of multi-line comment openers. Add the missing second asterisk to a number of multi-line comment openers, and remove a superfluous second asterisk from two others. Follow-up to [58614]. Props mukesh27. See #60854. Built from https://develop.svn.wordpress.org/trunk@58615 git-svn-id: http://core.svn.wordpress.org/trunk@58048 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-template-utils.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/block-template-utils.php b/wp-includes/block-template-utils.php index 6a4df84a11..f7a10ab672 100644 --- a/wp-includes/block-template-utils.php +++ b/wp-includes/block-template-utils.php @@ -617,7 +617,7 @@ function _build_block_template_result_from_file( $template_file, $template_type } if ( 'wp_template_part' === $template->type && $has_hooked_blocks ) { - /** + /* * In order for hooked blocks to be inserted at positions first_child and last_child in a template part, * we need to wrap its content a mock template part block and traverse it. */ @@ -1022,7 +1022,7 @@ function _build_block_template_result_from_post( $post ) { $existing_ignored_hooked_blocks = get_post_meta( $post->ID, '_wp_ignored_hooked_blocks', true ); $attributes = ! empty( $existing_ignored_hooked_blocks ) ? array( 'metadata' => array( 'ignoredHookedBlocks' => json_decode( $existing_ignored_hooked_blocks, true ) ) ) : array(); - /** + /* * In order for hooked blocks to be inserted at positions first_child and last_child in a template part, * we need to wrap its content a mock template part block and traverse it. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 6e0586f8f3..a5906ce80a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58614'; +$wp_version = '6.7-alpha-58615'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.