Changeset 51742 for branches/5.7
- Timestamp:
- 09/08/2021 05:22:10 PM (3 years ago)
- Location:
- branches/5.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.7
-
branches/5.7/src/wp-includes/functions.php
r50409 r51742 3377 3377 */ 3378 3378 $function = apply_filters( 'wp_die_json_handler', '_json_wp_die_handler' ); 3379 } elseif ( wp_is_jsonp_request() ) {3379 } elseif ( defined( 'REST_REQUEST' ) && REST_REQUEST && wp_is_jsonp_request() ) { 3380 3380 /** 3381 * Filters the callback for killing WordPress execution for JSONP requests.3381 * Filters the callback for killing WordPress execution for JSONP REST requests. 3382 3382 * 3383 3383 * @since 5.2.0
Note: See TracChangeset
for help on using the changeset viewer.