From d871bf86ca5d04703c7c9639e777314cd52fd1c7 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Tue, 28 Oct 2014 18:53:10 +0000 Subject: [PATCH] Fix a PHPDoc typo for `wp_json_encode()`. Props JustinSainton. See #28786. git-svn-id: https://develop.svn.wordpress.org/trunk@30058 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 7df760fdc6..458b47ea9b 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -2619,7 +2619,7 @@ function _scalar_wp_die_handler( $message = '' ) { * * @param mixed $data Variable (usually an array or object) to encode as JSON * @param int $options Options to be passed to json_encode(). Default 0. - * @param int $depth Maximum depth to walk through $data. Must be greater than 0, default 512.t + * @param int $depth Maximum depth to walk through $data. Must be greater than 0, default 512. * * @return bool|string The JSON encoded string, or false if it cannot be encoded */