Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #58333, comment 59


Ignore:
Timestamp:
05/18/2023 03:43:45 PM (13 months ago)
Author:
miyarakira
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58333, comment 59

    v3 v4  
    3939- Entire page: `get_the_block_template_html` ([https://github.com/WordPress/wordpress-develop/blob/d5792c7a8861330d53adc05dacfdfdccb822b1d4/src/wp-includes/block-template.php#L237-L243 here]), which applies `do_blocks` ~~and `do_shortcode`~~
    4040- Template part: `render_block_core_template_part` ([https://github.com/WordPress/gutenberg/blob/a0a1fd51e542b5c97f166f7be1679c2858dbb96e/packages/block-library/src/template-part/index.php#L145-L153 here]), which applies `do_blocks` and `do_shortcode`
    41 - Post Content block: `render_block_core_post_content` ([https://github.com/WordPress/gutenberg/blob/a0a1fd51e542b5c97f166f7be1679c2858dbb96e/packages/block-library/src/template-part/index.php#L145-L153 here]), which applies `the_content` filter ''and'' can contain nested Post Content blocks
     41- Post Content block: `render_block_core_post_content` ([https://github.com/WordPress/wordpress-develop/blob/a10e2bcf05309b814d7aba32281d24fe30eaf65b/src/wp-includes/blocks/post-content.php#L54 here]), which applies `the_content` filter ''and'' can contain nested Post Content blocks
    4242
    4343Hopefully some of this is useful in getting to the bottom of the issue.