[wp-trac] [WordPress Trac] #39204: Replace `is_super_admin()` check with `manage_network_users` cap check in wp-admin/users.php
WordPress Trac
noreply at wordpress.org
Tue Jan 24 11:03:10 UTC 2017
#39204: Replace `is_super_admin()` check with `manage_network_users` cap check in
wp-admin/users.php
------------------------------+------------------------
Reporter: abhishek kaushik | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.8
Component: Role/Capability | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
------------------------------+------------------------
Changes (by flixos90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"39943"]:
{{{
#!CommitTicketReference repository="" revision="39943"
Multisite: Replace `is_super_admin()` with `manage_network_users` when
trying to change the role of oneself.
Props abhishek kaushik.
Fixes #39204. See #37616.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39204#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list