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

WordPress Trac noreply at wordpress.org
Wed Dec 3 22:23:05 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:  Future Release
Component:  Formatting    |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------------
Changes (by pento):

 * keywords:  has-patch commit =>
 * milestone:  4.1 => Future Release


Comment:

 How we handle the return value from `wp_json_encode()` isn't a regression
 from how we handled the return value from `json_encode()`.

 Bumping to 4.2, I'll put a patch up in the next few days.

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


More information about the wp-trac mailing list