Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51850, comment 5


Ignore:
Timestamp:
11/24/2020 12:24:29 AM (4 years ago)
Author:
noisysocks
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51850, comment 5

    initial v1  
    1 See #51612 for some background context here. (Apologies, I should have already linked to this ticket.)
     1See #51612 for some background context here. (Apologies, I should have linked to this ticket.)
    22
    33We 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.