Changeset 57239 for trunk/src/wp-includes/functions.php
- Timestamp:
- 01/03/2024 09:57:32 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r57131 r57239 4285 4285 4286 4286 /** 4287 * Encodes a variable into JSON, with some sanitychecks.4287 * Encodes a variable into JSON, with some confidence checks. 4288 4288 * 4289 4289 * @since 4.1.0 … … 4301 4301 $json = json_encode( $value, $flags, $depth ); 4302 4302 4303 // If json_encode() was successful, no need to do more sanitychecking.4303 // If json_encode() was successful, no need to do more confidence checking. 4304 4304 if ( false !== $json ) { 4305 4305 return $json; … … 4316 4316 4317 4317 /** 4318 * Performs sanitychecks on data that shall be encoded to JSON.4318 * Performs confidence checks on data that shall be encoded to JSON. 4319 4319 * 4320 4320 * @ignore
Note: See TracChangeset
for help on using the changeset viewer.