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

WordPress Trac noreply at wordpress.org
Thu Jul 17 12:37:55 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:  has-patch commit  |     Focuses:
------------------------------+------------------

Comment (by DJPaul):

 @pento's patch fixes the situation where an audio file with non UTF-8 in
 the meta description will cause the Media Library to not load. However, if
 that audio file is used in the playlist shortcode, it breaks the player JS
 on the front-end. 28786.b1.diff patches the relevant part of media.php to
 use the new encode function.

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


More information about the wp-trac mailing list