Strip delete_themes from Multisite non-super-admins. Props Denis-de-Bernardy. Fixes #11802
git-svn-id: https://develop.svn.wordpress.org/trunk@13547 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f76fe5ecb5
commit
535f50f4ab
@ -996,6 +996,7 @@ function map_meta_cap( $cap, $user_id ) {
|
||||
case 'delete_plugins':
|
||||
case 'install_plugins':
|
||||
case 'update_themes':
|
||||
case 'delete_themes':
|
||||
case 'install_themes':
|
||||
case 'update_core':
|
||||
case 'delete_user':
|
||||
|
Loading…
Reference in New Issue
Block a user