Strip delete_themes from Multisite non-super-admins. Props Denis-de-Bernardy. Fixes #11802
git-svn-id: http://svn.automattic.com/wordpress/trunk@13547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
49c14c82fc
commit
65b22dcf9c
|
@ -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