From b83d7e4589f65c6830fb8b5b5c63dd11f8f5afe9 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 2 May 2024 20:09:15 +0000 Subject: [PATCH] Docs: Revert the documentation change to `WP_Block_Parser::parse()` made in [58084]. This file needs to be synced from the Gutenberg repository. See #60699 Built from https://develop.svn.wordpress.org/trunk@58085 git-svn-id: http://core.svn.wordpress.org/trunk@57550 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-block-parser.php | 18 ++---------------- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/wp-includes/class-wp-block-parser.php b/wp-includes/class-wp-block-parser.php index c4ffc5eb99..543f53691c 100644 --- a/wp-includes/class-wp-block-parser.php +++ b/wp-includes/class-wp-block-parser.php @@ -49,7 +49,7 @@ class WP_Block_Parser { public $stack; /** - * Parses a document and returns a list of block structures. + * Parses a document and returns a list of block structures * * When encountering an invalid parse will return a best-effort * parse. In contrast to the specification parser this does not @@ -58,21 +58,7 @@ class WP_Block_Parser { * @since 5.0.0 * * @param string $document Input document being parsed. - * @return array[] { - * Array of block structures. - * - * @type array ...$0 { - * A representative array of a single parsed block object. See WP_Block_Parser_Block. - * - * @type string $blockName Name of block. - * @type array $attrs Attributes from block comment delimiters. - * @type array[] $innerBlocks List of inner blocks. An array of arrays that - * have the same structure as this one. - * @type string $innerHTML HTML from inside block comment delimiters. - * @type array $innerContent List of string fragments and null markers where - * inner blocks were found. - * } - * } + * @return array[] */ public function parse( $document ) { $this->document = $document; diff --git a/wp-includes/version.php b/wp-includes/version.php index 77c87e6d05..d5b6da0170 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58084'; +$wp_version = '6.6-alpha-58085'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.