[wp-trac] [WordPress Trac] #44458: Catch WSODs and provide a means for recovery for end users
WordPress Trac
noreply at wordpress.org
Mon Jul 2 14:17:42 UTC 2018
#44458: Catch WSODs and provide a means for recovery for end users
----------------------------+---------------------
Reporter: schlessera | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.0
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+---------------------
Comment (by schlessera):
Another proposal:
Only allow for safe mode on logged-in `/wp-admin/*` requests, and build in
the following way:
- a shutdown handler is registered that will redirect to the same URL with
a nonce-based safe mode URL argument added.
- If page loads correctly, shutdown handler is removed again before it is
executed.
- If page would WSOD, it will trigger the shutdown handler, which will
redirect to the safe-mode-version of that same page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44458#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list