Make WordPress Core

Ticket #47401: 47401.diff

File 47401.diff, 583 bytes (added by mukesh27, 7 years ago)

Patch.

  • wp-includes/class-json.php

    diff --git a/wp-includes/class-json.php b/wp-includes/class-json.php
    index 646c4b7a7c..112a95f0d8 100644
    a b define('SERVICES_JSON_USE_TO_JSON', 64); 
    105105 * // create a new instance of Services_JSON
    106106 * $json = new Services_JSON();
    107107 *
    108  * // convert a complexe value to JSON notation, and send it to the browser
     108 * // convert a complex value to JSON notation, and send it to the browser
    109109 * $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4)));
    110110 * $output = $json->encode($value);
    111111 *