Changeset 34845
- Timestamp:
- 10/06/2015 02:55:43 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/compat.php
r34844 r34845 317 317 } 318 318 endif; 319 320 if ( ! interface_exists( 'JsonSerializable' ) ) { 321 define( 'WP_JSON_SERIALIZE_COMPATIBLE', true ); 322 /** 323 * JsonSerializable interface. 324 * 325 * Compatibility shim for PHP <5.4 326 * 327 * @link http://php.net/jsonserializable 328 * 329 * @since 4.4.0 330 */ 331 interface JsonSerializable { 332 public function jsonSerialize(); 333 } 334 }
Note: See TracChangeset
for help on using the changeset viewer.