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

WordPress Trac noreply at wordpress.org
Tue Oct 17 13:44:32 UTC 2023


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

Comment (by Bernhard Reiter):

 Some preliminary findings:

 - When I open the network console while in the site editor, I see two
 failed network requests (404) for the `header` and `footer` template
 parts, respectively, i.e. to
 `http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Ftemplate-
 parts%2Fundefined%2F%2Fheader&context=edit&_locale=user` (and to the same
 URL with `header` replaced by `footer`).
 - The `theme` attribute is present in the preloaded templates in the page
 source.
 - Does that mean that something on the client side is removing the `theme`
 attr?
 - Reverting [56896] seems to fix the issue.

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


More information about the wp-trac mailing list