Wrong template displayed for hybrid themes in the post template editor #64341
Labels
[Feature] Template Editing Mode
Related to the template editor available in the Block Editor
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
[Priority] High
Used to indicate top priority items that need quick attention
[Type] Bug
An existing feature does not function as intended
Description
The post template editor shows the wrong template for hybrid themes that contain a mix of block and php templates.
Step-by-step reproduction instructions
single.php
orpage.php
(e.g.twentytwentyone
)templates/index.html
file.index.html
, instead ofsingle.php
.single.php
.Screenshots, screen recording, code snippet
Kapture.2024-08-07.at.11.11.50.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: