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

WordPress Trac noreply at wordpress.org
Wed Dec 12 02:38:18 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:
  fixed-5.0                                      |
-------------------------------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

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

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

 Merges [43727] to trunk.

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

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


More information about the wp-trac mailing list