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
This commit is contained in:
parent
bc779f1915
commit
d871bf86ca
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user