mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Revert the WP_Block_Parser
documentation changes now.
This commit reverts [54193] and [54194].
It appears that these changes should first be made [533e0b7dad/packages/block-serialization-default-parser/parser.php
upstream in the Gutenberg respository] and then backported to core, as the [https://github.com/WordPress/wordpress-develop/actions/runs/3074068296/jobs/4966609235#step:8:1 tests fail otherwise].
See #56581.
Built from https://develop.svn.wordpress.org/trunk@54195
git-svn-id: http://core.svn.wordpress.org/trunk@53754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e076ee2ee1
commit
4dd6f110a3
@ -192,7 +192,7 @@ class WP_Block_Parser {
|
||||
* List of parsed blocks
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @var array[]
|
||||
* @var WP_Block_Parser_Block[]
|
||||
*/
|
||||
public $output;
|
||||
|
||||
@ -222,7 +222,7 @@ class WP_Block_Parser {
|
||||
* @since 5.0.0
|
||||
*
|
||||
* @param string $document Input document being parsed.
|
||||
* @return array[]
|
||||
* @return WP_Block_Parser_Block[]
|
||||
*/
|
||||
function parse( $document ) {
|
||||
$this->document = $document;
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-alpha-54194';
|
||||
$wp_version = '6.1-alpha-54195';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user