[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 19:51:48 UTC 2016
#39199: Replace `is_super_admin()` checks with `manage_network` cap checks in wp-
includes/option.php
-----------------------------------+------------------------
Reporter: chandrapatel | Owner: flixos90
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.8
Component: Role/Capability | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: multisite
-----------------------------------+------------------------
Changes (by johnbillion):
* keywords: has-patch => has-patch 2nd-opinion
Comment:
The capability check here looks redundant. I think it can be removed and
leave just the `! is_user_member_of_blog()` check.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39199#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list