[wp-trac] [WordPress Trac] #23688: esc_textarea, wp_richedit_pre and wp_htmledit_pre eat post content under PHP 5.4

WordPress Trac noreply at wordpress.org
Wed Apr 10 16:12:43 UTC 2013


#23688: esc_textarea, wp_richedit_pre and wp_htmledit_pre eat post content under
PHP 5.4
--------------------------+-----------------------
 Reporter:  westi         |       Owner:  westi
     Type:  defect (bug)  |      Status:  reopened
 Priority:  high          |   Milestone:  3.6
Component:  Formatting    |     Version:  trunk
 Severity:  blocker       |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by trevHCS):

 Can I just point out the ENT_DISALLOWED does not appear to work properly
 in this situation as it still gives a blank string and thus empty editing
 box.

 The ENT_SUBSTITUTE does work albeit with odd output, eg: "You’ll" gets
 converted to "You�ll"  when the encoding is ISO-8859-1 which is better
 as an intermediate fix.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23688#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list