[wp-trac] [WordPress Trac] #64771: Existing block level custom CSS in a post breaks when the post is edited by user without unfiltered_html
WordPress Trac
noreply at wordpress.org
Wed Mar 25 02:23:18 UTC 2026
#64771: Existing block level custom CSS in a post breaks when the post is edited by
user without unfiltered_html
--------------------------------------+---------------------
Reporter: glendaviesnz | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 7.0
Component: Editor | Version: trunk
Severity: critical | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by ramonopoly):
> won't stop users from potentially breaking a page without the ability to
unbreak it.
Wouldn't revisions mitigate this somewhat?
Given the back and forth on this issue, and the lengths folks went to
explore various solutions, I don't see a path to 7.0 that will satisfy
everyone.
See, for example, https://github.com/WordPress/wordpress-
develop/pull/11104
Stripping was seen as the quickest and most consistent approach, similar
to how the HTML block operates.
What do you folks think? Interested to hear alternatives.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64771#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list