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

WordPress Trac noreply at wordpress.org
Fri Aug 8 15:54:02 UTC 2014


#28786: wp_send_json silently fails on non UTF-8 strings
--------------------------+------------------
 Reporter:  pento         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  General       |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------
Changes (by DrewAPicture):

 * keywords:  has-patch commit => needs-patch


Comment:

 Closed #28807 as a duplicate, since both tickets serve to handle non-UTF-8
 failures with `json_encode()`. We'll need to make sure that the plugin API
 response calls referenced in #28807 are handled here as well.

 This will need lead dev support to get in for 4.0.

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


More information about the wp-trac mailing list