[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
Tue Dec 3 21:11:22 UTC 2013


#26068: validate_active_plugins() should use current_user_can(
'manage_network_plugins' ) instead of is_super_admin()
-----------------------------+---------------------
 Reporter:  jdgrimes         |       Owner:  nacin
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  3.8
Component:  Role/Capability  |     Version:  3.0
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |
-----------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"26590"]:
 {{{
 #!CommitTicketReference repository="" revision="26590"
 Use current_user_can('manage_network_plugins') in
 validate_active_plugins() instead of is_super_admin().

 props jdgrimes.
 fixes #26068.
 }}}

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


More information about the wp-trac mailing list