Commit 0f677d2cda for wordpress.org
commit 0f677d2cda3d90d06eee9389c66bc1bb42641cf3
Author: wildworks <wildworks@git.wordpress.org>
Date: Fri Sep 11 07:57:48 2026 +0000
Docs: Add missing blank line after `@since` in block parser
The PHP inline documentation standards require a blank line between the `@since` tag and the following `@param`/`@return` tags.
Developed in: https://github.com/WordPress/wordpress-develop/pull/13482
Props mukesh27, wildworks.
See #65818.
Built from https://develop.svn.wordpress.org/trunk@63599
git-svn-id: http://core.svn.wordpress.org/trunk@62775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/class-wp-block-parser.php b/wp-includes/class-wp-block-parser.php
index 81cb7a8fa2..c7e087ece8 100644
--- a/wp-includes/class-wp-block-parser.php
+++ b/wp-includes/class-wp-block-parser.php
@@ -85,6 +85,7 @@ class WP_Block_Parser {
*
* @internal
* @since 5.0.0
+ *
* @return bool
*/
public function proceed() {
@@ -231,6 +232,7 @@ class WP_Block_Parser {
* @internal
* @since 5.0.0
* @since 4.6.1 fixed a bug in attribute parsing which caused catastrophic backtracking on invalid block comments
+ *
* @return array
*/
public function next_token() {
@@ -318,6 +320,7 @@ class WP_Block_Parser {
*
* @internal
* @since 5.0.0
+ *
* @param null|int $length How many bytes of document text to output.
*/
public function add_freeform( $length = null ) {
@@ -336,6 +339,7 @@ class WP_Block_Parser {
*
* @internal
* @since 5.0.0
+ *
* @param WP_Block_Parser_Block $block The block to add to the output.
* @param int $token_start Byte offset into the document where the first token for the block starts.
* @param int $token_length Byte length of entire block from start of opening token to end of closing token.
@@ -360,6 +364,7 @@ class WP_Block_Parser {
*
* @internal
* @since 5.0.0
+ *
* @param int|null $end_offset byte offset into document for where we should stop sending text output as HTML.
*/
public function add_block_from_stack( $end_offset = null ) {
diff --git a/wp-includes/version.php b/wp-includes/version.php
index c865ea1e03..01868b3f77 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-63598';
+$wp_version = '7.2-alpha-63599';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.