[wp-trac] [WordPress Trac] #55148: In block themes, styles should load in the head
WordPress Trac
noreply at wordpress.org
Wed Feb 16 17:27:00 UTC 2022
#55148: In block themes, styles should load in the head
---------------------------+-----------------------
Reporter: oandregal | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9.1
Component: Script Loader | Version: 5.9
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
---------------------------+-----------------------
Changes (by jorgefilipecosta):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"52741" 52741]:
{{{
#!CommitTicketReference repository="" revision="52741"
Script Loader: Load block support styles in the head for block themes.
The dynamic block styles for layout and elements should be loaded in the
head for block themes. While that should also be the case for classic
themes, the current mechanism we use (render_block) does not allow us to
do that, hence, this PR doesn't change anything for them and will be
loaded the body.
Props oandregal, youknowriad, wpsoul.
Fixes #55148.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55148#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list