From 82edcc17f594a20006458084e305431514ad79c2 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 26 Jul 2022 13:00:16 +0000 Subject: [PATCH] Docs: Improve parameter descriptions in `render_block` and `render_block_*` filters. The former `$block_content` parameter descriptions were too opinionated as block content can be appended, prepended, nested, removed, etc. Props milana_cap. Fixes #56286. See #55646. Built from https://develop.svn.wordpress.org/trunk@53780 git-svn-id: http://core.svn.wordpress.org/trunk@53339 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-block.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-block.php b/wp-includes/class-wp-block.php index 90148f7613..33c0e6a355 100644 --- a/wp-includes/class-wp-block.php +++ b/wp-includes/class-wp-block.php @@ -277,7 +277,7 @@ class WP_Block { * @since 5.0.0 * @since 5.9.0 The `$instance` parameter was added. * - * @param string $block_content The block content about to be appended. + * @param string $block_content The block content. * @param array $block The full block, including name and attributes. * @param WP_Block $instance The block instance. */ @@ -292,7 +292,7 @@ class WP_Block { * @since 5.7.0 * @since 5.9.0 The `$instance` parameter was added. * - * @param string $block_content The block content about to be appended. + * @param string $block_content The block content. * @param array $block The full block, including name and attributes. * @param WP_Block $instance The block instance. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 009207e64d..0cd17d94f7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53779'; +$wp_version = '6.1-alpha-53780'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.