[wp-trac] [WordPress Trac] #48964: version 5.3.1 - Critical Errors Updating Plugins & Themes
WordPress Trac
noreply at wordpress.org
Sat Feb 8 18:47:30 UTC 2020
#48964: version 5.3.1 - Critical Errors Updating Plugins & Themes
--------------------------+---------------------
Reporter: airamerica | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.4
Component: Site Health | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+---------------------
Comment (by Clorith):
Would 34676 also prevent the fatal error handler from triggering in
general (I've not looked closely, the patches were fairly substantial)?
I was thinking a simple check in `WP_Fatal_Error_Handler::handle()` like
so would do the trick:
{{{#!php
// Triggering during upgrades may cause false positives, so don't handle
errors if updating.
if ( file_exists( ABSPATH . '.maintenance' ) ) {
return;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48964#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list