[wp-trac] [WordPress Trac] #59629: Header and Footer template parts broken in 6.4-beta4

WordPress Trac noreply at wordpress.org
Mon Oct 16 14:44:50 UTC 2023


#59629: Header and Footer template parts broken in 6.4-beta4
--------------------------+---------------------
 Reporter:  mmcalister    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.4
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by pbiron):

 I can confirm this problem.

 I hadn't seen a problem with any site I'd tested 6.4-beta4 on until I saw
 this ticket (all of which use custom themes).

 I switched those sites from their custom themes to one of the bundled
 themes (TT4, TT3, TT2) and/or Ollie and the problem surfaced.  Switched
 back to their custom themes and the problem went away.

 This left be baffled.  I then realized that, yes, in my custom themes the
 template part blocks in all the templates all used the "theme" attribute
 (e.g., `<!-- wp:template-part {"slug":"header","theme":"my-
 theme","tagName":"footer"} /-->`).  If I remove that attribute from the
 template part blocks in my custom themes, then problem surfaces with my
 custom themes.

 So, it definitely looks related to #59583.

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


More information about the wp-trac mailing list