WordPress.org

Make WordPress Core

Changeset 21774


Ignore:
Timestamp:
09/06/12 18:04:58 (20 months ago)
Author:
nacin
Message:

Unfiltered HTML is only valid for super admins in multisite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4/wp-includes/capabilities.php

    r21153 r21774  
    11321132            $caps[] = 'do_not_allow'; 
    11331133        elseif ( is_multisite() && ! is_super_admin( $user_id ) ) 
    1134             $caps[] = $cap; 
     1134            $caps[] = 'do_not_allow'; 
    11351135        else 
    11361136            $caps[] = $cap; 
Note: See TracChangeset for help on using the changeset viewer.