Changes between Initial Version and Version 1 of Ticket #51850, comment 5
- Timestamp:
- 11/24/2020 12:24:29 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51850, comment 5
initial v1 1 See #51612 for some background context here. (Apologies, I should have alreadylinked to this ticket.)1 See #51612 for some background context here. (Apologies, I should have linked to this ticket.) 2 2 3 3 We want to call `pre_render_block`, `render_block_data`, and `render_block_context` in `WP_Block::render()` as it is not intuitive for these "render" filters to be called in the constructor. `WP_Block::$inner_blocks`, `WP_Block::$inner_html`, and `WP_Block::$inner_content` are all derived from the result of calling these filters.