From e0a3dd8ee62156e711158d40de51cd297db0cc93 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Jun 2024 12:45:18 +0000 Subject: [PATCH] Docs: Correct DocBlock formatting in `wp-includes/blocks.php`. Follow-up to [58471]. Props david.binda, narenin, sabernhardt, shital-patel, SergeyBiryukov. Fixes #61493. Built from https://develop.svn.wordpress.org/trunk@58561 git-svn-id: http://core.svn.wordpress.org/trunk@58009 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks.php | 11 +++++------ wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index 5ef250a863..26e5e0c96b 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -1774,17 +1774,16 @@ function filter_block_kses_value( $value, $allowed_html, $allowed_protocols = ar return $value; } - /** * Sanitizes the value of the Template Part block's `tagName` attribute. * * @since 6.5.5 * - * @param string $attribute_value The attribute value to filter. - * @param string $attribute_name The attribute name. - * @param array[]|string $allowed_html An array of allowed HTML elements and attributes, - * or a context name such as 'post'. See wp_kses_allowed_html() - * for the list of accepted context names. + * @param string $attribute_value The attribute value to filter. + * @param string $attribute_name The attribute name. + * @param array[]|string $allowed_html An array of allowed HTML elements and attributes, + * or a context name such as 'post'. See wp_kses_allowed_html() + * for the list of accepted context names. * @return string The sanitized attribute value. */ function filter_block_core_template_part_attributes( $attribute_value, $attribute_name, $allowed_html ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 7f6ff414aa..f2a4a0cd0a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta4-58560'; +$wp_version = '6.6-beta4-58561'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.