From 65b22dcf9ce7ddde6ea07c53f25e74b4fff0d063 Mon Sep 17 00:00:00 2001 From: dd32 Date: Tue, 2 Mar 2010 11:42:15 +0000 Subject: [PATCH] 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 --- wp-includes/capabilities.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php index 9e4a9289e7..8ebebf4999 100644 --- a/wp-includes/capabilities.php +++ b/wp-includes/capabilities.php @@ -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':