[wp-trac] [WordPress Trac] #32257: Patch: add support for multi-line textarea sanitization

WordPress Trac noreply at wordpress.org
Fri May 20 06:49:37 UTC 2016


#32257: Patch: add support for multi-line textarea sanitization
-------------------------+------------------------------
 Reporter:  ottok        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Security     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by ottok):

 * version:  4.3 =>


Comment:

 @rinatkhaziev Your suggestion is to rewrite sanitize_textarea_field() to
 use wp_filter_nohtml_kses()?

 I think we need a function with the name sanitize_textarea_field() so that
 it is easy to discover for developers. Much of security is about makin
 secure choices easy to make by default. What the implementation of the
 function is, I like the current best, but I wan rewrite it (again) if you
 commit to actually accepting the patch then. I've worked on this on
 multiple occasion for over a year.. I hope it would be accepted now.

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


More information about the wp-trac mailing list