WordPress/wp-admin
Felix Arntz 3a77265148 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.

Built from https://develop.svn.wordpress.org/trunk@44973


git-svn-id: http://core.svn.wordpress.org/trunk@44804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-21 21:53:51 +00:00
..
css Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
images Build: Minify images 2019-02-25 15:21:52 +00:00
includes Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
js Accessibility: Improve the Comments and Privacy count text. 2019-03-18 15:22:53 +00:00
maint Accessibility: Remove negative tabindex from the login, install, and setup pages header. 2019-01-10 17:21:52 +00:00
network Multisite: Do not prime site meta caches unless necessary. 2019-03-18 15:56:51 +00:00
user Code is Poetry. 2017-11-30 23:11:00 +00:00
about.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
admin-ajax.php Privacy: add means to erase personal data by username or email address. First run. 2018-04-18 22:30:22 +00:00
admin-footer.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-header.php Accessibility: Improve the way Internet Explorer 11 and JAWS announce fieldset legends. 2019-01-17 11:55:51 +00:00
admin-post.php Admin: Use is_user_logged_in() instead of wp_validate_auth_cookie() in admin-post.php. 2019-01-16 05:41:50 +00:00
admin.php Coding Standards: Move an assignment out of a condition in wp-admin/admin.php. 2019-01-15 05:48:50 +00:00
async-upload.php Docs: Fix a few minor inline documentation typos in a variety of files and contexts. 2018-12-19 07:42:49 +00:00
comment.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
credits.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
custom-background.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
custom-header.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
customize.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
edit-comments.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
edit-form-advanced.php Accessibility: Improve the placeholder "prompt" text in the post title and Quick Draft widget. 2019-03-14 17:39:53 +00:00
edit-form-blocks.php Meta Boxes: Use a unique name for the nonce of the meta box loader. 2019-03-20 08:12:51 +00:00
edit-form-comment.php Comments: Restore a removed fieldset legend after [44466]. 2019-01-29 19:10:49 +00:00
edit-link-form.php Block Editor: Fix meta boxes not showing. 2018-12-16 01:19:54 +00:00
edit-tag-form.php Terms: Show error colours when a term fails to update. 2019-01-21 04:50:50 +00:00
edit-tags.php Build/Test Tools: Fix coding standards issues after [44515] and [44514]. 2019-01-09 12:37:49 +00:00
edit.php Block Editor: Fix the WordPress packages and vendor script registration. 2018-12-17 19:34:52 +00:00
export.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
freedoms.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
import.php Importers: Use correct l10n variable in wp.updates.installImporterError and filesystem credentials dialog. 2019-01-07 13:49:49 +00:00
index.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
install-helper.php Code is Poetry. 2017-11-30 23:11:00 +00:00
install.php Accessibility: Remove negative tabindex from the login, install, and setup pages header. 2019-01-10 17:21:52 +00:00
link-add.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link-manager.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link-parse-opml.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link.php Code is Poetry. 2017-11-30 23:11:00 +00:00
load-scripts.php Script Loader: Ensure default packages are registered when loaded via load-scripts.php. 2018-12-17 03:15:20 +00:00
load-styles.php Script loader: remove (PHP based) compression from load-styles.php and load-scripts.php. WIth the amount of scripts and stylesheets grown a lot over the years, it has become pretty slow and consumes a lot of server resources. Also, most servers are set to compress PHP output anyway. 2018-08-20 13:51:24 +00:00
media-new.php Code is Poetry. 2017-11-30 23:11:00 +00:00
media-upload.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
media.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
menu-header.php Docs: Fix a few minor inline documentation typos in a variety of files and contexts. 2018-12-19 07:42:49 +00:00
menu.php Accessibility: Improve the Comments and Privacy count text. 2019-03-18 15:22:53 +00:00
moderation.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-admin.php
ms-delete-site.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
ms-edit.php
ms-options.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-sites.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-themes.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-upgrade-network.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-users.php Code is Poetry. 2017-11-30 23:11:00 +00:00
my-sites.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
nav-menus.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
network.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options-discussion.php Comments: Default the show_comments_cookies_opt_in checkbox to enabled. 2019-01-21 22:57:52 +00:00
options-general.php I18N: Remove admin notice when the WPLANG constant is no longer necessary. 2019-03-20 18:58:50 +00:00
options-head.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options-media.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
options-permalink.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
options-reading.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
options-writing.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
options.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
plugin-editor.php Plugin Editor: Disable the documentation look up button when no function is selected. 2019-01-16 06:01:50 +00:00
plugin-install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
plugins.php Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
post-new.php Editor: Merge some minor bug fixes. 2018-12-14 05:12:52 +00:00
post.php Admin: Re-add some validation from [44048] that was accidentally removed in [44165]. 2019-02-07 04:12:51 +00:00
press-this.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
privacy.php Privacy: Use a consistent URL for Privacy Policy guide. 2019-03-21 21:17:50 +00:00
profile.php Code is Poetry. 2017-11-30 23:11:00 +00:00
revision.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
setup-config.php Upgrade/Install: Update character count for the $table_prefix config line after [43650] and [42343]. 2019-02-12 16:52:53 +00:00
term.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
theme-editor.php Theme Editor: Capitalize "Think very carefully about your site crashing..." message for consistency with other strings. 2019-03-07 10:17:52 +00:00
theme-install.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
themes.php Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
tools.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
update-core.php Plugins: Block plugin updates on the update screen if required PHP version is not supported. 2019-03-20 14:59:50 +00:00
update.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
upgrade-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
upgrade.php Install/Upgrade: After [44451], update translator comments to include the new placeholder. 2019-01-27 14:46:55 +00:00
upload.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
user-edit.php Accessibility: Improve the password form buttons accessibility. 2019-03-13 23:37:57 +00:00
user-new.php Accessibility: Improve the password form buttons accessibility. 2019-03-13 23:37:57 +00:00
users.php Users: Introduce users_have_additional_content filter to indicate whether the users being deleted have additional content associated with them outside of the post_author and link_owner relationships. 2019-03-21 20:12:50 +00:00
widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00