[wp-trac] [WordPress Trac] #57289: Allow child themes to use template parts from parent themes in Full Screen Editor

WordPress Trac noreply at wordpress.org
Tue Dec 13 16:50:08 UTC 2022


#57289: Allow child themes to use template parts from parent themes in Full Screen
Editor
-------------------------------+------------------------------
 Reporter:  catacaustic        |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:  6.1.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by ironprogrammer):

 * keywords:   => reporter-feedback


Comment:

 Welcome back to Trac, @catacaustic, and thanks for the report!

 This issue looks similar to
 https://github.com/WordPress/gutenberg/issues/44243, where a workaround
 was to remove the theme name from `<!-- wp:template-part -->`. For
 instance, change:
 {{{
 <!-- wp:template-part {"slug":"header","tagName":"header","theme":"my-
 theme"} /-->
 }}}
 to
 {{{
 <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
 }}}

 Would you mind testing to see if this also fixes the errors you're seeing?
 Your proposed patch may offer a solution there as well. Thank you!

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


More information about the wp-trac mailing list