From af08ed758d231fcd429032ad5dc817bfa146ece6 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 8 Aug 2022 08:33:09 +0000 Subject: [PATCH] Docs: Various docblock fixes in `wp-includes/blocks.php`, as per docs standards. See #55646. Built from https://develop.svn.wordpress.org/trunk@53859 git-svn-id: http://core.svn.wordpress.org/trunk@53418 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks.php | 9 ++++----- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index f6c8f32706..952f7b085f 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -803,7 +803,7 @@ function excerpt_remove_blocks( $content ) { } /** - * Render inner blocks from the allowed wrapper blocks + * Renders inner blocks from the allowed wrapper blocks * for generating an excerpt. * * @since 5.8.0 @@ -836,7 +836,7 @@ function _excerpt_render_inner_blocks( $parsed_block, $allowed_blocks ) { * * @since 5.0.0 * - * @global WP_Post $post The post to edit. + * @global WP_Post $post The post to edit. * * @param array $parsed_block A single parsed block object. * @return string String of rendered HTML. @@ -915,7 +915,7 @@ function render_block( $parsed_block ) { */ function parse_blocks( $content ) { /** - * Filter to allow plugins to replace the server-side block parser + * Filter to allow plugins to replace the server-side block parser. * * @since 5.0.0 * @@ -1206,8 +1206,7 @@ function build_query_vars_from_query_block( $block, $page ) { * @since 5.9.0 * * @param WP_Block $block Block instance. - * @param boolean $is_next Flag for handling `next/previous` blocks. - * + * @param bool $is_next Flag for handling `next/previous` blocks. * @return string|null The pagination arrow HTML or null if there is none. */ function get_query_pagination_arrow( $block, $is_next ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 87239b7ad0..86d70b4ba0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53858'; +$wp_version = '6.1-alpha-53859'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.