[wp-trac] [WordPress Trac] #26068: validate_active_plugins() should use current_user_can( 'manage_network_plugins' ) instead of is_super_admin()

WordPress Trac noreply at wordpress.org
Sat Nov 16 15:28:06 UTC 2013


#26068: validate_active_plugins() should use current_user_can(
'manage_network_plugins' ) instead of is_super_admin()
-----------------------------+-----------------------------
 Reporter:  jdgrimes         |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:  3.0
 Severity:  normal           |   Keywords:  has-patch
-----------------------------+-----------------------------
 The `validate_active_plugins()` function performs a capability check to
 determine whether to also validate network active plugins. It should use
 `current_user_can( 'manage_network_plugins' )` for this instead of
 `is_super_admin()`.

 Introduced in: [12930]
 Related: [20525]

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26068>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list