Changeset 60316
- Timestamp:
- 06/18/2025 12:49:51 AM (7 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r60173 r60316 2404 2404 */ 2405 2405 function do_blocks( $content ) { 2406 $blocks = parse_blocks( $content ); 2407 $output = ''; 2408 2409 foreach ( $blocks as $block ) { 2410 $output .= render_block( $block ); 2406 $blocks = parse_blocks( $content ); 2407 $top_level_block_count = count( $blocks ); 2408 $output = ''; 2409 2410 for ( $i = 0; $i < $top_level_block_count; $i++ ) { 2411 $output .= render_block( $blocks[ $i ] ); 2412 $blocks[ $i ] = null; 2411 2413 } 2412 2414
Note: See TracChangeset
for help on using the changeset viewer.