[wp-trac] [WordPress Trac] #46025: _json_wp_die_handler doesn't handle JSONP request
WordPress Trac
noreply at wordpress.org
Tue Mar 26 22:25:53 UTC 2019
#46025: _json_wp_die_handler doesn't handle JSONP request
------------------------------------------------+--------------------------
Reporter: spacedmonkey | Owner:
| spacedmonkey
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.2
Component: Bootstrap/Load | Version: 5.1
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing servehappy | Focuses: multisite
------------------------------------------------+--------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"45015" 45015]:
{{{
#!CommitTicketReference repository="" revision="45015"
Bootstrap/Load: Add support for JSONP requests to `wp_die()`.
In addition to AJAX, XML-RPC, and JSON requests, `wp_die()` now handles
JSONP requests correctly, returning information in the expected content
type.
Props spacedmonkey, TimothyBlynJacobs.
Fixes #46025. See #44458.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46025#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list