[wp-trac] [WordPress Trac] #58236: theme.json customTemplates with child themes work wrong

WordPress Trac noreply at wordpress.org
Tue Jul 9 07:15:50 UTC 2024


#58236: theme.json customTemplates with child themes work wrong
---------------------------+------------------------------
 Reporter:  thomask        |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Editor         |     Version:  6.3
 Severity:  normal         |  Resolution:
 Keywords:  needs-testing  |     Focuses:  template
---------------------------+------------------------------
Changes (by poena):

 * keywords:   => needs-testing


Comment:

 Hi @thomask

 I am not sure that all of the issues are existing bugs. They may have been
 solved since WordPress 6.3, are you available to test them again?

 1) To delete a parent theme template with a child theme, add an empty file
 with the same file name. The parent template will no longer be selectable.

 2) To replace an existing parent theme template with a template in a child
 theme, you also add a file with the same name.
 - If I use a HTML template, I am not able to reproduce the part where you
 are saying that the child theme template is not showing. In my test I am
 able to use the child theme template.
 - If I try to replace it with a PHP template, it is not showing as an
 option in the block editor, it can't be selected. See
 https://core.trac.wordpress.org/ticket/61210

 3) I am not able to reproduce this using 6.6 RC2.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58236#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list