Make WordPress Core

Ticket #44244: 44244.diff

File 44244.diff, 1.9 KB (added by sagarnasit, 7 years ago)
  • src/wp-includes/class-json.php

     
    252252    *
    253253    * @param    mixed   $var    any number, boolean, string, array, or object to be encoded.
    254254    *                           see argument 1 to Services_JSON() above for array-parsing behavior.
    255     *                           if var is a strng, note that encode() always expects it
     255    *                           if var is a string, note that encode() always expects it
    256256    *                           to be in ASCII or UTF-8 format!
    257257    *
    258258    * @return   mixed   JSON string representation of input var or an error if a problem occurs
     
    268268    *
    269269    * @param    mixed   $var    any number, boolean, string, array, or object to be encoded.
    270270    *                           see argument 1 to Services_JSON() above for array-parsing behavior.
    271     *                           if var is a strng, note that encode() always expects it
     271    *                           if var is a string, note that encode() always expects it
    272272    *                           to be in ASCII or UTF-8 format!
    273273    *
    274274    * @return   mixed   JSON string representation of input var or an error if a problem occurs
     
    289289    *
    290290    * @param    mixed   $var    any number, boolean, string, array, or object to be encoded.
    291291    *                           see argument 1 to Services_JSON() above for array-parsing behavior.
    292     *                           if var is a strng, note that encode() always expects it
     292    *                           if var is a string, note that encode() always expects it
    293293    *                           to be in ASCII or UTF-8 format!
    294294    *
    295295    * @return   mixed   JSON string representation of input var or an error if a problem occurs