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
This commit is contained in:
Sergey Biryukov 2024-06-06 12:38:12 +00:00
parent 43dd91cdc6
commit e51e787656
2 changed files with 7 additions and 4 deletions

View File

@ -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'.

View File

@ -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.