Changeset 51741 for branches/5.8
- Timestamp:
- 09/08/2021 05:19:16 PM (3 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/functions.php
r51707 r51741 3555 3555 */ 3556 3556 $function = apply_filters( 'wp_die_json_handler', '_json_wp_die_handler' ); 3557 } elseif ( wp_is_jsonp_request() ) {3557 } elseif ( defined( 'REST_REQUEST' ) && REST_REQUEST && wp_is_jsonp_request() ) { 3558 3558 /** 3559 * Filters the callback for killing WordPress execution for JSONP requests.3559 * Filters the callback for killing WordPress execution for JSONP REST requests. 3560 3560 * 3561 3561 * @since 5.2.0
Note: See TracChangeset
for help on using the changeset viewer.