[wp-trac] [WordPress Trac] #59629: Header and Footer template parts broken in 6.4-beta4
WordPress Trac
noreply at wordpress.org
Tue Oct 17 15:46:59 UTC 2023
#59629: Header and Footer template parts broken in 6.4-beta4
-------------------------------------------------+-------------------------
Reporter: mmcalister | Owner: Bernhard
| Reiter
Type: defect (bug) | Status: closed
Priority: high | Milestone: 6.4
Component: Themes | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests needs- | Focuses:
testing commit |
-------------------------------------------------+-------------------------
Changes (by Bernhard Reiter):
* owner: (none) => Bernhard Reiter
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"56960" 56960]:
{{{
#!CommitTicketReference repository="" revision="56960"
Patterns, Templates: Inject `theme` attr into Template Part blocks.
It was found that Template Part blocks were broken in the Site Editor,
showing the `Template part has been deleted or is unavailable` message,
due to a missing `theme` attribute.
This bug seems to have been introduced by [56896], whose goal was to only
inject that attribute into the markup returned by the templates and
patterns REST API endpoints but not on the frontend, in order to improve
performance. It has been demonstrated locally that reverting that
changeset fixes the bug.
Reverts [56896].
Props mmcalister, swisspidy, thelovelist, hellofromTonya, pbiron,
Pauthake015, richtabor, nicolefurlan, huzaifaalmesbah, annezazu, kafleg,
aegkr, sunitarai, shresthaaman, andraganescu, onemaggie, gziolo.
Fixes #59629.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59629#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list