[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 Mar 13 14:49:34 UTC 2013


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

Comment (by westi):

 In [changeset:"1243/tests"]:
 {{{
 #!CommitTicketReference repository="tests" revision="1243"
 Formatting: New test cases for a few core formatting functions which call
 htmlspecialchars without providing any charset info.

 As of PHP5.4 the default charset for htmlspecialchars is changed to UTF-8
 which means that iso-8859-1 data gets eaten.

 See: #23688
 }}}

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


More information about the wp-trac mailing list