Changeset 30561 for trunk/src/wp-includes/functions.php
- Timestamp:
- 11/25/2014 05:00:36 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r30541 r30561 2663 2663 2664 2664 // If json_encode() was successful, no need to do more sanity checking. 2665 if ( false !== $json ) { 2665 // ... unless we're in an old version of PHP, and json_encode() returned 2666 // a string containing 'null'. Then we need to do more sanity checking. 2667 if ( false !== $json && ( version_compare( PHP_VERSION, '5.5', '>=' ) || false === strpos( $json, 'null' ) ) ) { 2666 2668 return $json; 2667 2669 }
Note: See TracChangeset
for help on using the changeset viewer.