[wp-trac] [WordPress Trac] #46620: WSoD Protection: Pass the error through to error template and associated filters
WordPress Trac
noreply at wordpress.org
Wed Mar 27 00:15:30 UTC 2019
#46620: WSoD Protection: Pass the error through to error template and associated
filters
-------------------------+-----------------------------
Reporter: johnbillion | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.2
Component: Plugins | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"45023" 45023]:
{{{
#!CommitTicketReference repository="" revision="45023"
Bootstrap/Load: In fatal error handler, pass the error information through
to error template and associated filters: `wp_php_error_message`,
`wp_php_error_args`.
This allows the custom error handler and default error message filters to
inspect the error and perform logic based on its properties.
Props johnbillion.
Fixes #46620.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46620#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list