[wp-trac] [WordPress Trac] #46130: Only pause extensions for users with recovery access
WordPress Trac
noreply at wordpress.org
Thu Mar 21 21:52:14 UTC 2019
#46130: Only pause extensions for users with recovery access
----------------------------------+--------------------------------
Reporter: flixos90 | Owner: TimothyBlynJacobs
Type: defect (bug) | Status: closed
Priority: high | Milestone: 5.2
Component: Bootstrap/Load | Version: 5.1
Severity: normal | Resolution: fixed
Keywords: servehappy has-patch | Focuses:
----------------------------------+--------------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"44973" 44973]:
{{{
#!CommitTicketReference repository="" revision="44973"
Bootstrap/Load: Introduce a recovery mode for fixing fatal errors.
Using the new fatal handler introduced in [44962], an email is sent to the
admin when a fatal error occurs. This email includes a secret link to
enter recovery mode. When clicked, the link will be validated and on
success a cookie will be placed on the client, enabling recovery mode for
that user. This functionality is executed early before plugins and themes
are loaded, in order to be unaffected by potential fatal errors these
might be causing.
When in recovery mode, broken plugins and themes will be paused for that
client, so that they are able to access the admin backend despite of these
errors. They are notified about the broken extensions and the errors
caused, and can then decide whether they would like to temporarily
deactivate the extension or fix the problem and resume the extension.
A link in the admin bar allows the client to exit recovery mode.
Props timothyblynjacobs, afragen, flixos90, nerrad, miss_jwo, schlessera,
spacedmonkey, swissspidy.
Fixes #46130, #44458.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46130#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list