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

WordPress Trac noreply at wordpress.org
Sat Apr 5 16:44:02 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 nacin):

 > esc_textarea() will double-encode html entities, whereas esc_html() will
 not

 That's the key difference.

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


More information about the wp-trac mailing list