Changeset 62956 for trunk/src/wp-includes/class-wp-block-parser.php
- Timestamp:
- 07/31/2026 01:08:01 PM (8 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-block-parser.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-parser.php
r61995 r62956 343 343 */ 344 344 public function add_inner_block( WP_Block_Parser_Block $block, $token_start, $token_length, $last_offset = null ) { 345 $parent = $this->stack[ count( $this->stack ) - 1];345 $parent = $this->stack[ array_key_last( $this->stack ) ]; 346 346 $parent->block->innerBlocks[] = (array) $block; 347 347 $html = substr( $this->document, $parent->prev_offset, $token_start - $parent->prev_offset );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)