[wp-trac] [WordPress Trac] #59772: 6.3 block themes require index.php if current theme is not block based
WordPress Trac
noreply at wordpress.org
Mon Oct 30 20:38:34 UTC 2023
#59772: 6.3 block themes require index.php if current theme is not block based
--------------------------+-----------------------------
Reporter: dgaidula | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 6.3.2
Severity: major | Keywords:
Focuses: |
--------------------------+-----------------------------
If the currently activated theme is not block based, WP 6.3 will report
all block based themes as broken until adding an empty index.php at root
of theme. This appears to be related to the new '$this->is_block_theme()'
check introduced into class-wp-theme.php with 6.3+. I rolled back to WP
6.2.3 and non-block based and block-based themes can co-exist without the
warning. The error message thrown is non-obvious what to fix since the
perfectly functioning block-based themes 2023 1.2 include suddenly break
with message about missing files that aren't missing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59772>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list