[wp-trac] [WordPress Trac] #30920: Add support for JavaScript templates (Underscore) to wp_kses()

WordPress Trac noreply at wordpress.org
Wed Jan 7 00:20:37 UTC 2015


#30920: Add support for JavaScript templates (Underscore) to wp_kses()
---------------------------+------------------------------
 Reporter:  stevegrunwell  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Formatting     |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  template
---------------------------+------------------------------

Comment (by dd32):

 > The behavior of wp_kses() still seems broken when it's handed an
 Underscore template, however.

 In my opinion it's working as intended, as Underscore template tags are
 not HTML, it's strippping/sanitizing unexpected/malfomed HTML from the
 string.

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


More information about the wp-trac mailing list