[wp-trac] [WordPress Trac] #44458: Catch WSODs and provide a means for recovery for end users
WordPress Trac
noreply at wordpress.org
Tue Mar 26 20:29:58 UTC 2019
#44458: Catch WSODs and provide a means for recovery for end users
-----------------------------------------------+------------------------
Reporter: schlessera | Owner: flixos90
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.2
Component: Bootstrap/Load | Version:
Severity: normal | Resolution: fixed
Keywords: has-dev-note has-patch servehappy | Focuses: multisite
-----------------------------------------------+------------------------
Comment (by SergeyBiryukov):
In [changeset:"45014" 45014]:
{{{
#!CommitTicketReference repository="" revision="45014"
Bootstrap/Load: Always run the fatal error handler at shutdown, but don't
display the PHP error template once headers are sent.
If a fatal error occurs midway through a page load, or in a REST API
request, it still needs to be handled internally for the recovery mode,
but the custom message may conflict with already rendered output, e.g. by
displaying HTML markup in an XML or JSON request.
Props spacedmonkey, flixos90, TimothyBlynJacobs.
Fixes #45989. See #44458.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44458#comment:82>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list