[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:51:25 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):
> The `theme` attribute is present in the preloaded templates in the page
source.
Correction, I saw it present for the `single` template, but not e.g. for
the `page` template.
Maybe this is the reason: In [56896], we made `theme` attribute
conditional on the presence of the `REST_REQUEST` constant; but that
constant isn't set when outputting the preloaded templates.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59629#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list