WordPress 3.4.2
[autoinstalls/wordpress.git] / wp-includes / capabilities.php
index ca95c2345fd57d26c8ba9f58c74a1bee4a547610..2840a1e2f900fde43f1cfd3c96523030906db974 100644 (file)
@@ -1131,7 +1131,7 @@ function map_meta_cap( $cap, $user_id ) {
                if ( defined( 'DISALLOW_UNFILTERED_HTML' ) && DISALLOW_UNFILTERED_HTML )
                        $caps[] = 'do_not_allow';
                elseif ( is_multisite() && ! is_super_admin( $user_id ) )
-                       $caps[] = $cap;
+                       $caps[] = 'do_not_allow';
                else
                        $caps[] = $cap;
                break;