Docs: Fix typos in Services_JSON DocBlocks.

Props mukesh27.
Fixes #47401.

git-svn-id: https://develop.svn.wordpress.org/trunk@45535 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2019-06-13 19:18:55 +00:00
parent e153f957ad
commit 8e8402092a

View File

@ -105,7 +105,7 @@ define('SERVICES_JSON_USE_TO_JSON', 64);
* // create a new instance of Services_JSON * // create a new instance of Services_JSON
* $json = new Services_JSON(); * $json = new Services_JSON();
* *
* // convert a complexe value to JSON notation, and send it to the browser * // convert a complex value to JSON notation, and send it to the browser
* $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4))); * $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4)));
* $output = $json->encode($value); * $output = $json->encode($value);
* *
@ -208,7 +208,7 @@ class Services_JSON
* *
* Normally should be handled by mb_convert_encoding, but * Normally should be handled by mb_convert_encoding, but
* provides a slower PHP-only method for installations * provides a slower PHP-only method for installations
* that lack the multibye string extension. * that lack the multibyte string extension.
* *
* @param string $utf8 UTF-8 character * @param string $utf8 UTF-8 character
* @return string UTF-16 character * @return string UTF-16 character