Changeset 31188 for trunk/src/wp-includes/compat.php
- Timestamp:
- 01/16/2015 01:05:52 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/compat.php
r30075 r31188 66 66 global $wp_json; 67 67 68 if ( ! is_a($wp_json, 'Services_JSON') ) {68 if ( ! ( $wp_json instanceof Services_JSON ) ) { 69 69 require_once( ABSPATH . WPINC . '/class-json.php' ); 70 70 $wp_json = new Services_JSON(); … … 79 79 global $wp_json; 80 80 81 if ( ! is_a($wp_json, 'Services_JSON') ) {81 if ( ! ($wp_json instanceof Services_JSON ) ) { 82 82 require_once( ABSPATH . WPINC . '/class-json.php' ); 83 83 $wp_json = new Services_JSON();
Note: See TracChangeset
for help on using the changeset viewer.