Ticket #33524: 33524.diff
File 33524.diff, 524 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/functions.php
2677 2677 $args = array( $data ); 2678 2678 } 2679 2679 2680 $json = call_user_func_array( 'json_encode', $args );2680 $json = @call_user_func_array( 'json_encode', $args ); 2681 2681 2682 2682 // If json_encode() was successful, no need to do more sanity checking. 2683 2683 // ... unless we're in an old version of PHP, and json_encode() returned