[wp-trac] [WordPress Trac] #28786: wp_send_json silently fails on non UTF-8 strings

WordPress Trac noreply at wordpress.org
Sun Nov 23 23:51:15 UTC 2014


#28786: wp_send_json silently fails on non UTF-8 strings
------------------------------+-----------------------
 Reporter:  pento             |       Owner:  pento
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  4.1
Component:  Formatting        |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------

Comment (by pento):

 In [changeset:"30533"]:
 {{{
 #!CommitTicketReference repository="" revision="30533"
 Split the tests for `wp_json_encode()` into smaller chunks (let's all them
 "units"). Skip a couple of these tests when running on older versions of
 PHP that don't support the tested functionality.

 See #28786.
 }}}

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


More information about the wp-trac mailing list