[wp-trac] [WordPress Trac] #59499: Block custom CSS: Fix incorrect CSS when multiple root selectors
WordPress Trac
noreply at wordpress.org
Thu Oct 5 13:07:11 UTC 2023
#59499: Block custom CSS: Fix incorrect CSS when multiple root selectors
--------------------------+---------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.4
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by wildworks):
Let me give you a little background as it may help you decide.
The problem is that custom CSS is not being output correctly, ''both'' in
the frontend and in the editor. This custom CSS is generated via PHP on
the front end and via JavaScript in the editor.
[https://github.com/WordPress/gutenberg/pull/53602 Gutenberg's PR] fixed
both aspects of this.
The editor side, i.e. JavaScript, fixes are part of the Gutenberg package
and were backported to WordPress 6.4 Beta2. However, the PHP changes (i.e.
the patch attached to this ticket) have not yet been committed to core, so
the front end will still have issues.
Therefore, a core commit is required to resolve this issue on the front
end as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59499#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list