mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user