[wp-trac] [WordPress Trac] #33121: wp_kses_attr_check fails to process html data-* attributes

WordPress Trac noreply at wordpress.org
Mon Oct 15 05:21:07 UTC 2018


#33121: wp_kses_attr_check fails to process html data-* attributes
---------------------------------------------+----------------------------
 Reporter:  isoftware                        |       Owner:  peterwilsoncc
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.0
Component:  Editor                           |     Version:  4.2.3
 Severity:  major                            |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+----------------------------
Changes (by peterwilsoncc):

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


Comment:

 In [changeset:"43727" 43727]:
 {{{
 #!CommitTicketReference repository="" revision="43727"
 KSES: Allow HTML data-* attributes.

 Add global support for HTML attributes prefixed `data-` for authors and
 contributors, as required by the new editor.

 Props azaozz, peterwilsoncc.
 Fixes #33121.
 }}}

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


More information about the wp-trac mailing list