[wp-trac] [WordPress Trac] #55407: Allow case-insensitive elements for KSES

WordPress Trac noreply at wordpress.org
Thu Mar 31 03:52:46 UTC 2022

#55407: Allow case-insensitive elements for KSES
 Reporter:  r-a-y                       |       Owner:  peterwilsoncc
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  6.0
Component:  Formatting                  |     Version:
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |     Focuses:
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"53034" 53034]:
 #!CommitTicketReference repository="" revision="53034"
 KSES: Document HTML allow list is in lowercase.

 Expand documentation of the `wp_kses_allowed_html` hook to indicate that
 developers must add permitted HTML tags and attributes in lowercase for
 KSES to recognise they are permitted.

 Props r-a-y, SergeyBiryukov, peterwilsoncc.
 Fixes #55407.
 See #53399.

Ticket URL: <https://core.trac.wordpress.org/ticket/55407#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list