[wp-trac] [WordPress Trac] #45933: WSODs protection returns incorrect content type for JSON Requests
WordPress Trac
noreply at wordpress.org
Tue Jan 22 08:52:00 UTC 2019
#45933: WSODs protection returns incorrect content type for JSON Requests
----------------------------------+------------------------
Reporter: spacedmonkey | Owner: flixos90
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.1
Component: Bootstrap/Load | Version: trunk
Severity: normal | Resolution:
Keywords: servehappy has-patch | Focuses: multisite
----------------------------------+------------------------
Comment (by flixos90):
In [changeset:"44690" 44690]:
{{{
#!CommitTicketReference repository="" revision="44690"
Bootstrap/Load: Fix fatal error when passing a `WP_Error` to `wp_die()`.
This was introduced in [44466]. Also, this changeset adds tests for
`_wp_die_process_input()` so that this never happens again.
Props dd32.
See #45933.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45933#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list