[wp-trac] [WordPress Trac] #15002: unfiltered_html capability is not observed when set explicitly for role

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 4 22:49:26 UTC 2010


#15002: unfiltered_html capability is not observed when set explicitly for role
-----------------------------+----------------------------------------------
 Reporter:  phlux0r          |       Owner:                   
     Type:  defect (bug)     |      Status:  new              
 Priority:  normal           |   Milestone:  Awaiting Review  
Component:  Role/Capability  |     Version:  3.0.1            
 Severity:  normal           |    Keywords:  reporter-feedback
-----------------------------+----------------------------------------------
Changes (by lybica):

 * cc: lybica (added)


Comment:

 Hi, I came across with the same issue recently.

 I believe it is incorrect to fall through to the next `case` block
 here;[[BR]]
 currently for any multisite installation (if `is_multisite()` returns
 `true`),[[BR]]
 non-super-admin can never have the `'unfiltered_html'` capability (pushed
 to `$cap`).

 or is there a reason behind this?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15002#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list