[wp-trac] [WordPress Trac] #39199: Replace `is_super_admin()` checks with `manage_network` cap checks in wp-includes/option.php

WordPress Trac noreply at wordpress.org
Fri Dec 9 12:16:52 UTC 2016


#39199: Replace `is_super_admin()` checks with `manage_network` cap checks in wp-
includes/option.php
-----------------------------+-----------------------------
 Reporter:  chandrapatel     |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:  multisite        |
-----------------------------+-----------------------------
 This is part of the #37616 task. There are 2 is_super_admin() checks in
 wp-includes/option.php that should be replaced with current_user_can(
 'manage_network' ).

 See https://core.trac.wordpress.org/ticket/37616#comment:26

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


More information about the wp-trac mailing list