From b9a3b166e5d4d031cdc128599c074dda271b12f7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 27 May 2018 19:41:16 +0000 Subject: [PATCH] Docs: Fix typo in `Services_JSON` DocBlocks. Props sagarnasit. Fixes #44244. git-svn-id: https://develop.svn.wordpress.org/trunk@43325 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-json.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-json.php b/src/wp-includes/class-json.php index 7f34d3fcab..93a353623d 100644 --- a/src/wp-includes/class-json.php +++ b/src/wp-includes/class-json.php @@ -252,7 +252,7 @@ class Services_JSON * * @param mixed $var any number, boolean, string, array, or object to be encoded. * see argument 1 to Services_JSON() above for array-parsing behavior. - * if var is a strng, note that encode() always expects it + * if var is a string, note that encode() always expects it * to be in ASCII or UTF-8 format! * * @return mixed JSON string representation of input var or an error if a problem occurs @@ -268,7 +268,7 @@ class Services_JSON * * @param mixed $var any number, boolean, string, array, or object to be encoded. * see argument 1 to Services_JSON() above for array-parsing behavior. - * if var is a strng, note that encode() always expects it + * if var is a string, note that encode() always expects it * to be in ASCII or UTF-8 format! * * @return mixed JSON string representation of input var or an error if a problem occurs @@ -289,7 +289,7 @@ class Services_JSON * * @param mixed $var any number, boolean, string, array, or object to be encoded. * see argument 1 to Services_JSON() above for array-parsing behavior. - * if var is a strng, note that encode() always expects it + * if var is a string, note that encode() always expects it * to be in ASCII or UTF-8 format! * * @return mixed JSON string representation of input var or an error if a problem occurs