[wp-trac] [WordPress Trac] #58605: Core block editor styles registered with frontend stylesheet URL instead of editor stylesheet URL
WordPress Trac
noreply at wordpress.org
Fri Jun 23 19:00:09 UTC 2023
#58605: Core block editor styles registered with frontend stylesheet URL instead of
editor stylesheet URL
--------------------------------------+-----------------------
Reporter: flixos90 | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.3
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"56005" 56005]:
{{{
#!CommitTicketReference repository="" revision="56005"
Editor: Fix block editor styles being registered with frontend
stylesheets.
This changeset fixes a bug where WordPress core's own block editor styles
(`wp-block-{$block_name}-editor`) were referencing the same CSS files as
their frontend equivalents (`wp-block-{$block_name}`). This would result
in incorrect frontend styles potentially being loaded in the block editor.
Tests for the related logic have been added.
Props flixos90, joemcgill, mukesh27, spacedmonkey.
Fixes #58605.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58605#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list