[wp-trac] [WordPress Trac] #39204: Replace `is_super_admin()` checks with `manage_network` cap checks in wp-admin/users.php

WordPress Trac noreply at wordpress.org
Fri Dec 9 13:36:19 UTC 2016


#39204: Replace `is_super_admin()` checks with `manage_network` cap checks in wp-
admin/users.php
---------------------------------------+-----------------------------
 Reporter:  abhishek kaushik           |      Owner:
     Type:  defect (bug)               |     Status:  new
 Priority:  normal                     |  Milestone:  Awaiting Review
Component:  Role/Capability            |    Version:  trunk
 Severity:  normal                     |   Keywords:
  Focuses:  administration, multisite  |
---------------------------------------+-----------------------------
 This is part of the #37616 task. There are 3 is_super_admin() checks in
 wp-admin/users.php that should be replaced with current_user_can(
 'manage_network' ).
 See https://core.trac.wordpress.org/ticket/37616#comment:28

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39204>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list