Make WordPress Core

Ticket #60423: 60423.patch

File 60423.patch, 1.2 KB (added by jigar bhanushali, 4 months ago)
  • src/wp-includes/class-wp-block-parser-frame.php

    diff --git a/src/wp-includes/class-wp-block-parser-frame.php b/src/wp-includes/class-wp-block-parser-frame.php
    index 15938dea38..393a2a315c 100644
    a b class WP_Block_Parser_Frame { 
    6565         * @param WP_Block_Parser_Block $block              Full or partial block.
    6666         * @param int                   $token_start        Byte offset into document for start of parse token.
    6767         * @param int                   $token_length       Byte length of entire parse token string.
    68          * @param int                   $prev_offset        Byte offset into document for after parse token ends.
    69          * @param int                   $leading_html_start Byte offset into document where leading HTML before token starts.
     68         * @param int|null              $prev_offset        Byte offset into document for after parse token ends. Default null.
     69         * @param int|null              $leading_html_start Byte offset into document where leading HTML before token starts. Default null.
    7070         */
    7171        public function __construct( $block, $token_start, $token_length, $prev_offset = null, $leading_html_start = null ) {
    7272                $this->block              = $block;