Changeset 49539 for trunk/src/wp-includes/class-wp-block.php
- Timestamp:
- 11/09/2020 10:51:52 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block.php
r49310 r49539 214 214 215 215 if ( $is_dynamic ) { 216 $global_post = $post;217 $parent = WP_Block_Supports::$block_to_render;216 $global_post = $post; 217 $parent = WP_Block_Supports::$block_to_render; 218 218 WP_Block_Supports::$block_to_render = $this->parsed_block; 219 $block_content = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this );219 $block_content = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this ); 220 220 WP_Block_Supports::$block_to_render = $parent; 221 $post = $global_post;221 $post = $global_post; 222 222 } 223 223
Note: See TracChangeset
for help on using the changeset viewer.