[wp-trac] [WordPress Trac] #34406: wp_kses_hair is too stringent redux

WordPress Trac noreply at wordpress.org
Fri Oct 23 08:20:33 UTC 2015


#34406: wp_kses_hair is too stringent redux
-------------------------------------------------+-------------------------
 Reporter:  travisnorthcutt                      |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Formatting                           |  Review
 Severity:  normal                               |     Version:  1.5
 Keywords:  has-patch dev-feedback needs-unit-   |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by miqrogroove):

 Needs more tests.  This is the kind of ticket where the tests will get
 more traction than the patch ever will.  :)

 For example,

 {{{
 <img src="" data_at:2x="[audio]" alt="blah" />
 }}}

 We expect this shortcode to get stripped automatically, which almost
 certainly fails in the proposed patch.

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


More information about the wp-trac mailing list