[wp-trac] [WordPress Trac] #44458: Catch WSODs and provide a means for recovery for end users
WordPress Trac
noreply at wordpress.org
Mon Jan 21 19:09:28 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.1
Component: Bootstrap/Load | Version:
Severity: normal | Resolution: fixed
Keywords: has-dev-note has-patch servehappy | Focuses: multisite
-----------------------------------------------+------------------------
Comment (by flixos90):
In [changeset:"44671" 44671]:
{{{
#!CommitTicketReference repository="" revision="44671"
Bootstrap/Load: Ensure that the fatal error shutdown handler does not
prevent other shutdown handlers from being called.
This changeset adds support for a new `wp_die()` argument `exit`, which
defaults to true and determines whether `wp_die()` should actually
terminate the request. The new fatal error handler then calls `wp_die()`
with that argument set to false, as calling `die()` or `exit` from a PHP
shutdown function prevents other shutdown functions from being called.
Props schlessera, johnbillion.
Fixes #46038. See #44458.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44458#comment:70>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list