Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54910, comment 12


Ignore:
Timestamp:
01/27/2022 10:16:17 PM (3 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54910, comment 12

    initial v1  
    11Submitted a patch for consideration based on @poena's suggestion to check for block markup in `index.html`.
     2
     3**Edit**
     4Updated the patch to add a check for `wp_is_block_theme()` before running `locate_block_template()` to prevent "Empty template: Index" from being output on the frontend when `index.html` is empty.