Changeset 45139 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 04/08/2019 06:53:14 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r44576 r45139 263 263 */ 264 264 function do_blocks( $content ) { 265 $blocks = parse_blocks( $content ); 266 $output = ''; 267 268 foreach ( $blocks as $block ) { 269 $output .= render_block( $block ); 270 } 271 265 272 // If there are blocks in this content, we shouldn't run wpautop() on it later. 266 273 $priority = has_filter( 'the_content', 'wpautop' ); … … 270 277 } 271 278 272 $blocks = parse_blocks( $content );273 $output = '';274 275 foreach ( $blocks as $block ) {276 $output .= render_block( $block );277 }278 279 279 return $output; 280 280 }
Note: See TracChangeset
for help on using the changeset viewer.