Changeset 51745
- Timestamp:
- 09/08/2021 05:23:22 PM (4 years ago)
- Location:
- branches/5.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.4
-
branches/5.4/src/wp-includes/functions.php
r49454 r51745 3308 3308 */ 3309 3309 $function = apply_filters( 'wp_die_json_handler', '_json_wp_die_handler' ); 3310 } elseif ( wp_is_jsonp_request() ) {3310 } elseif ( defined( 'REST_REQUEST' ) && REST_REQUEST && wp_is_jsonp_request() ) { 3311 3311 /** 3312 * Filters the callback for killing WordPress execution for JSONP requests.3312 * Filters the callback for killing WordPress execution for JSONP REST requests. 3313 3313 * 3314 3314 * @since 5.2.0
Note: See TracChangeset
for help on using the changeset viewer.