From e51e78765681cf148433dc535b63ff5c12630493 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 6 Jun 2024 12:38:12 +0000 Subject: [PATCH] Docs: Correct DocBlock and comment formatting in `wp-includes/blocks.php`. Follow-up to [58291], [58292]. Props david.binda. Fixes #61390. Built from https://develop.svn.wordpress.org/trunk@58355 git-svn-id: http://core.svn.wordpress.org/trunk@57807 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks.php | 9 ++++++--- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index efdd9b1b1a..270534e751 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -1064,7 +1064,7 @@ function update_ignored_hooked_blocks_postmeta( $post ) { return $post; } - /** + /* * Skip meta generation when consumers intentionally update specific Navigation fields * and omit the content update. */ @@ -1072,7 +1072,7 @@ function update_ignored_hooked_blocks_postmeta( $post ) { return $post; } - /** + /* * Skip meta generation when the post content is not a navigation block. */ if ( ! isset( $post->post_type ) || 'wp_navigation' !== $post->post_type ) { @@ -1115,12 +1115,15 @@ function update_ignored_hooked_blocks_postmeta( $post ) { return $post; } -/* +/** * Returns the markup for blocks hooked to the given anchor block in a specific relative position and then * adds a list of hooked block types to an anchor block's ignored hooked block types. * * This function is meant for internal use only. * + * @since 6.6.0 + * @access private + * * @param array $parsed_anchor_block The anchor block, in parsed block array format. * @param string $relative_position The relative position of the hooked blocks. * Can be one of 'before', 'after', 'first_child', or 'last_child'. diff --git a/wp-includes/version.php b/wp-includes/version.php index 47e0e37bcf..e64a0dad92 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta1-58354'; +$wp_version = '6.6-beta1-58355'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.