Docs: Add missing `@throws` tag to `_wp_json_sanity_check()` DocBlock.
Props subrataemfluence. See #45643. Built from https://develop.svn.wordpress.org/trunk@47427 git-svn-id: http://core.svn.wordpress.org/trunk@47214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8483056ea1
commit
57e91eb89a
|
@ -3899,6 +3899,8 @@ function wp_json_encode( $data, $options = 0, $depth = 512 ) {
|
|||
*
|
||||
* @see wp_json_encode()
|
||||
*
|
||||
* @throws Exception If depth limit is reached.
|
||||
*
|
||||
* @param mixed $data Variable (usually an array or object) to encode as JSON.
|
||||
* @param int $depth Maximum depth to walk through $data. Must be greater than 0.
|
||||
* @return mixed The sanitized data that shall be encoded to JSON.
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-alpha-47426';
|
||||
$wp_version = '5.5-alpha-47427';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue