[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 16:21:02 UTC 2016


#39200: Replace `is_super_admin()` check with current_user_can(
'manage_network_options' ) in wp-admin/options.php
-----------------------------+------------------------
 Reporter:  sathyapulse      |       Owner:  flixos90
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  4.8
Component:  Role/Capability  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  multisite
-----------------------------+------------------------

Comment (by sathyapulse):

 Hi @flixos90,

 Thank you for the suggestion. I should have noticed that earlier. I have
 attached the new
 [https://core.trac.wordpress.org/attachment/ticket/39200/39200.1.patch
 patch] file which includes the missing curly braces throughout the file.
 Please let me know if any other changes need to be done in the file. I am
 happy to do it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39200#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list