From ba870c487b5957c4a778ef89ac5702736a46c226 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 8 Aug 2022 08:31:03 +0000 Subject: [PATCH] Docs: Various docblock fixes in `wp-includes/blocks.php`, as per docs standards. See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53859 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/blocks.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php index f6c8f32706..952f7b085f 100644 --- a/src/wp-includes/blocks.php +++ b/src/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 ) {