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

WordPress Trac noreply at wordpress.org
Fri Oct 23 05:25:51 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:
-------------------------------------------------+-------------------------
Changes (by dd32):

 * keywords:  has-patch dev-feedback => has-patch dev-feedback needs-unit-
     tests


Comment:

 I see no reason why numbers and underscores shouldn't be allowed here,
 although I don't really see the point in whitelisting en/em dashes if
 we're not going to support the full set of characters.

 Some unit tests would be good for this change I think.

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


More information about the wp-trac mailing list