[wp-trac] [WordPress Trac] #64418: Valid CSS is causing failure in the Additional CSS panel

WordPress Trac noreply at wordpress.org
Mon Dec 15 20:17:57 UTC 2025


#64418: Valid CSS is causing failure in the Additional CSS panel
--------------------------+---------------------
 Reporter:  drw158        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  7.0
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  css
--------------------------+---------------------

Comment (by jonsurrell):

 I agree with [comment:5 what was already expressed by dmsnell].

 It should be trivial to ''detect'' potentially problematic `STYLE` tag
 contents. It's likely feasible to ''escape'' problematic `STYLE` tag
 contents.

 The difficult part of resolving this will be working through different
 systems like KSES that expect and rely on STYLE tag contents not matching
 `#</?\w+#`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64418#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list