[wp-trac] [WordPress Trac] #39200: Replace `is_super_admin()` check with current_user_can( 'manage_network_options' ) in wp-admin/options.php

WordPress Trac noreply at wordpress.org
Fri Dec 9 12:56:38 UTC 2016


#39200: Replace `is_super_admin()` check with current_user_can(
'manage_network_options' ) in wp-admin/options.php
-----------------------------+-----------------------------
 Reporter:  sathyapulse      |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 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/39200>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list