[wp-trac] [WordPress Trac] #55148: In block themes, styles should load in the head
WordPress Trac
noreply at wordpress.org
Thu Feb 17 13:08:01 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:"52747" 52747]:
{{{
#!CommitTicketReference repository="" revision="52747"
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.
Merges [52741] to the 5.9 branch.
Fixes #55148.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55148#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list