Open jffng opened 1 month ago
The post template editor shows the wrong template for hybrid themes that contain a mix of block and php templates.
single.php
page.php
twentytwentyone
templates/index.html
index.html
https://github.com/user-attachments/assets/7234ddf6-892a-4428-98bb-015d4c5eaff1
I think these may be related and/or duplicate issues: #31633 #63124 #64303
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
https://github.com/user-attachments/assets/7234ddf6-892a-4428-98bb-015d4c5eaff1
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.