[wp-trac] [WordPress Trac] #48608: SVG tags with numbers in attributes filtered out by KSES despite being allowed

WordPress Trac noreply at wordpress.org
Tue Jun 23 05:06:14 UTC 2020


#48608: SVG tags with numbers in attributes filtered out by KSES despite being
allowed
--------------------------+------------------------
 Reporter:  johnpgreen    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------

Comment (by whyisjake):

 In [changeset:"48132" 48132]:
 {{{
 #!CommitTicketReference repository="" revision="48132"
 Formatting: Extend `wp_kses_hair` and `wp_kses_hair_parse` to allow digits
 and underscores.

 Fixes a lot of issues around parsing XML/HTML attributes.

 Fixes #49464.

 See #34406, #48608.

 Props codeforest, zodiac1978, johnpgreen, dlh, ayeshrajans, johnpgreen,
 rilwis, travisnorthcutt, miqrogroove, chriscct7, whyisjake.
 }}}

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


More information about the wp-trac mailing list