WordPress/wp-admin/includes
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
..
admin-filters.php Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
admin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ajax-actions.php Accessibility: Improve the Comments and Privacy count text. 2019-03-18 15:22:53 +00:00
bookmark.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-automatic-upgrader-skin.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-bulk-plugin-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-bulk-theme-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-bulk-upgrader-skin.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
class-core-upgrader.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-file-upload-upgrader.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-ftp-pure.php Docs: Correct grammar in PemFTP description. 2019-03-17 01:20:49 +00:00
class-ftp-sockets.php Docs: Correct grammar in PemFTP description. 2019-03-17 01:20:49 +00:00
class-ftp.php Docs: Correct grammar in PemFTP description. 2019-03-17 01:20:49 +00:00
class-language-pack-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-language-pack-upgrader.php I18N: Enable clear_destination in upgrader for updating/installing language packs. 2019-01-21 21:13:48 +00:00
class-pclzip.php Filesystem API: Ensure memory limit calculations by PclZip are using integers. 2016-07-19 11:55:30 +00:00
class-plugin-installer-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-plugin-upgrader-skin.php Docs: Document many more parameters and properties using typed array notation. 2018-03-22 20:27:32 +00:00
class-plugin-upgrader.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-theme-installer-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-theme-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-theme-upgrader.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-walker-category-checklist.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-nav-menu-checklist.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-walker-nav-menu-edit.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-wp-ajax-upgrader-skin.php General: Introduce WP_Error::has_errors() method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-automatic-updater.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-wp-comments-list-table.php Accessibility: Comments: Improve links and buttons semantics and interaction. 2019-02-20 23:37:50 +00:00
class-wp-community-events.php Docs: Update @since versions in Community Events class added in [42726]. 2018-06-28 02:34:04 +00:00
class-wp-filesystem-base.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-direct.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpext.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpsockets.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ssh2.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-importer.php Import: Avoid counting an uncountable type when reading arguments passed to a script. 2018-03-02 17:17:31 +00:00
class-wp-internal-pointers.php Privacy: Remove privacy feature related admin pointers. 2019-03-04 20:47:50 +00:00
class-wp-links-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-list-table-compat.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
class-wp-media-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-sites-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-themes-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-users-list-table.php Users: Use login__in parameter for WP_User_Query in WP_MS_Users_List_Table::prepare_items(), instead of a manual query. 2019-03-07 12:35:52 +00:00
class-wp-plugin-install-list-table.php General: Prevent nested paragraph tags when displaying PHP update annotations. 2019-03-19 20:41:53 +00:00
class-wp-plugins-list-table.php Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
class-wp-post-comments-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-posts-list-table.php Accessibility: Remove post format filter links from format icons in the Posts list table. 2019-03-21 15:32:01 +00:00
class-wp-screen.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
class-wp-site-icon.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
class-wp-terms-list-table.php Taxonomy: Add level-n classes to rows on edit-tags.php. 2019-03-07 03:04:50 +00:00
class-wp-theme-install-list-table.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:49:38 +00:00
class-wp-themes-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-upgrader-skin.php Upgrade/Install: Add missing opening curly bracket after [44513]. 2019-03-21 18:03:51 +00:00
class-wp-upgrader-skins.php Load: Re-add class-wp-upgrader-skins.php. 2016-12-03 03:40:41 +00:00
class-wp-upgrader.php Upgrade/Install: Add experimental package signing to some updates. 2019-03-21 05:49:50 +00:00
class-wp-users-list-table.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
comment.php Code is Poetry. 2017-11-30 23:11:00 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2018-07-18 11:21:25 +00:00
credits.php Code is Poetry. 2017-11-30 23:11:00 +00:00
dashboard.php Accessibility: Improve the Comments and Privacy count text. 2019-03-18 15:22:53 +00:00
deprecated.php REST API: Restore use of wp_ajax_ajax_tag_search() for tag search. 2019-01-10 02:37:51 +00:00
edit-tag-messages.php Code is Poetry. 2017-11-30 23:11:00 +00:00
export.php Coding Standards: Fix the Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace violations. 2019-01-11 06:40:50 +00:00
file.php Privacy: Introduce Privacy Policy page helpers: 2019-03-21 19:48:50 +00:00
image-edit.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
image.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
import.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
list-table.php Docs: Update and correct various inline documentation. 2018-05-07 17:20:22 +00:00
media.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
menu.php Code is Poetry. 2017-11-30 23:11:00 +00:00
meta-boxes.php Accessibility: Comments: Improve links and buttons semantics and interaction. 2019-02-20 23:37:50 +00:00
misc.php Scripts: Assign api-fetch nonce with corrected rest_nonce. 2019-03-20 20:53:50 +00:00
ms-admin-filters.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-deprecated.php Docs: Standardize and add missing deprecation notations in DocBlocks for the following functions: 2017-06-22 17:48:45 +00:00
ms.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
nav-menu.php Menus: Fix a deprecated call to get_terms(). 2019-01-21 23:38:52 +00:00
network.php Docs: Improve the @return description of network_domain_check(). 2019-01-08 05:27:50 +00:00
noop.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options.php Accessibility: General Settings: Update custom date/time format previews while typing. 2019-02-20 22:56:50 +00:00
plugin-install.php Plugins: Block plugin updates if required PHP version is not supported. 2019-03-20 01:44:51 +00:00
plugin.php Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
post.php Posts, Post Types: Add type parameter to post_exists(). 2019-03-21 12:44:54 +00:00
revision.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
schema.php Networks and Sites: Introduce populate_site_meta filter. 2019-03-15 19:43:50 +00:00
screen.php Code is Poetry. 2017-11-30 23:11:00 +00:00
taxonomy.php Docs: Correct and improve various inline documentation. 2018-03-25 19:35:29 +00:00
template.php Date/Time: Reduce explicit local current_time( 'timestamp' ) usage in favor of native PHP functions. 2019-03-07 09:12:51 +00:00
theme-install.php Docs: Add missing periods to a grab-bag of docblocks. 2019-01-18 01:03:50 +00:00
theme.php Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
translation-install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
update-core.php Upgrades: Update $_old_files for WordPress 5.1. 2019-02-21 04:35:50 +00:00
update.php Plugins: Block plugin updates if required PHP version is not supported. 2019-03-20 01:44:51 +00:00
upgrade.php Install/upgrade: Remove Gutenberg plugin deactivation from upgrade process. 2019-02-08 00:16:50 +00:00
user.php Privacy: Add missing header text for screen readers to privacy list tables. 2019-03-08 15:25:51 +00:00
widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00