[wp-trac] [WordPress Trac] #15454: esc_textarea() for obvious textarea escaping function.

WordPress Trac noreply at wordpress.org
Sat Apr 5 07:46:18 UTC 2014


#15454: esc_textarea() for obvious textarea escaping function.
------------------------------+---------------------
 Reporter:  markjaquith       |       Owner:
     Type:  defect (bug)      |      Status:  closed
 Priority:  high              |   Milestone:  3.1
Component:  General           |     Version:  3.1
 Severity:  major             |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------

Comment (by Denis-de-Bernardy):

 @nacin or @ryan or @markjaquith: Any odds you could chime in when you've a
 moment, to explain when and why `esc_textarea()` is supposed to be used
 rather than `esc_html()`? The codex is rather unclear on when to use it,
 it doesn't seem to be worrying about the charset, and this ticket and
 others related to it give the impression that the only thing were
 introduced by `esc_textarea()` were bugs and regressions.

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


More information about the wp-trac mailing list