Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #58333, comment 61


Ignore:
Timestamp:
05/18/2023 12:35:02 PM (16 months ago)
Author:
asafm7
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58333, comment 61

    initial v1  
    99There should be at least a filter for determining whether a specific block should do_shortcode() or not.
    1010
    11 Also, I wonder if the issue can't be fixed by applying do_shortcode() earlier, for example inside get_block_templates() or get_block_template()
     11Also, I wonder if the issue can't be fixed by applying do_shortcode() earlier, for example inside get_block_templates() or get_block_template(). With this, by definition, you only apply do_shortcode() on the template structure, which is inaccessible to unauthorized users.
    1212
    1313