[wp-trac] [WordPress Trac] #37616: Replace `is_super_admin()` calls with real capability checks
WordPress Trac
noreply at wordpress.org
Fri Jan 20 17:48:33 UTC 2017
#37616: Replace `is_super_admin()` calls with real capability checks
-----------------------------+------------------------
Reporter: flixos90 | Owner:
Type: task (blessed) | Status: reviewing
Priority: normal | Milestone: 4.8
Component: Role/Capability | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: multisite
-----------------------------+------------------------
Comment (by flixos90):
In [changeset:"39935"]:
{{{
#!CommitTicketReference repository="" revision="39935"
Multisite: Replace `is_super_admin()` with `manage_network_users` when
trying to add an existing user via username.
Props dhanendran.
Fixes #39202. See #37616.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37616#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list