[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
Tue Dec 20 18:20:00 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 | Focuses: multisite
-----------------------------+------------------------
Changes (by flixos90):
* keywords: has-patch needs-refresh => has-patch
Comment:
[attachment:39199.diff] implements the new approach suggested in the last
couple comments. It also replaces the individual check in `wp-
admin/includes/dashboard.php` with an `is_user_member_of_blog()` call
which is similar to what happened in [changeset:25109].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39199#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list