[wp-trac] [WordPress Trac] #56581: Wrong doc in WP_Block_Parser class
WordPress Trac
noreply at wordpress.org
Sat Sep 17 17:22:20 UTC 2022
#56581: Wrong doc in WP_Block_Parser class
--------------------------+-----------------------------
Reporter: Chouby | Owner: SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.1
Component: Editor | Version: 5.0
Severity: trivial | Resolution:
Keywords: has-patch | Focuses: docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: closed => reopened
* resolution: fixed =>
Comment:
It appears that these changes should first be made
[https://github.com/WordPress/gutenberg/blob/533e0b7dad99a4b52c1d79a2e8d2bf36a2e6f819/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]:
> Ensure version-controlled files are not modified or deleted
{{{
Run git diff --exit-code
diff --git a/src/wp-includes/class-wp-block-parser.php b/src/wp-includes
/class-wp-block-parser.php
index e987307..27c85cf 100644
--- a/src/wp-includes/class-wp-block-parser.php
+++ b/src/wp-includes/class-wp-block-parser.php
@@ -62,7 +62,7 @@ class WP_Block_Parser_Block {
* 'innerContent' => array( 'Before', null, 'Inner', null,
'After' ),
* )
*
- * @since 5.0.0
+ * @since 4.2.0
* @var array
*/
public $innerContent;
...
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56581#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list