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

WordPress Trac noreply at wordpress.org
Fri Jul 3 14:35:35 UTC 2020


#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                                      |
-------------------------------------------------+-------------------------

Comment (by yura1980):

 Replying to [comment:27 jeremyfelt]:
 > 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:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list