Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/wp-includes/class-wp-block-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public function parse( $document ) {
*
* @internal
* @since 5.0.0
*
* @return bool
*/
public function proceed() {
Expand Down Expand Up @@ -231,6 +232,7 @@ public function proceed() {
* @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() {
Expand Down Expand Up @@ -318,6 +320,7 @@ public function freeform( $inner_html ) {
*
* @internal
* @since 5.0.0
*
* @param null|int $length How many bytes of document text to output.
*/
public function add_freeform( $length = null ) {
Expand All @@ -336,6 +339,7 @@ public function add_freeform( $length = null ) {
*
* @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.
Expand All @@ -360,6 +364,7 @@ public function add_inner_block( WP_Block_Parser_Block $block, $token_start, $to
*
* @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 ) {
Expand Down
Loading