Make WordPress Core

Ticket #33524: 33524.diff

File 33524.diff, 524 bytes (added by pento, 9 years ago)
  • src/wp-includes/functions.php

     
    26772677                $args = array( $data );
    26782678        }
    26792679
    2680         $json = call_user_func_array( 'json_encode', $args );
     2680        $json = @call_user_func_array( 'json_encode', $args );
    26812681
    26822682        // If json_encode() was successful, no need to do more sanity checking.
    26832683        // ... unless we're in an old version of PHP, and json_encode() returned