Bootstrap/Load: Revert fatal error recovery mechanism from 5.1 to polish for 5.2.

Due to the high number of follow-up tickets and associated security concerns, it was decided to reschedule the fatal error recovery feature for WordPress 5.2, in order to address these issues properly. The feature will continue to be developed, with iterations being merged into trunk early in the 5.2 release cycle.

Fixes #46141. See #44458, #45932, #45940, #46038, #46047, #46068.


git-svn-id: https://develop.svn.wordpress.org/trunk@44717 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Felix Arntz
2019-01-30 11:00:30 +00:00
parent a95cec1fe8
commit 0612ea2d38
16 changed files with 10 additions and 1298 deletions
-8
View File
@@ -464,14 +464,6 @@ function map_meta_cap( $cap, $user_id ) {
}
}
break;
case 'resume_plugin':
// Even in a multisite, regular administrators should be able to resume a plugin.
$caps[] = 'activate_plugins';
break;
case 'resume_themes':
// Even in a multisite, regular administrators should be able to resume a theme.
$caps[] = 'switch_themes';
break;
case 'delete_user':
case 'delete_users':
// If multisite only super admins can delete users.