[wp-trac] [WordPress Trac] #43527: Add $network_id to super admin functions.
WordPress Trac
noreply at wordpress.org
Mon Mar 12 14:51:16 UTC 2018
#43527: Add $network_id to super admin functions.
--------------------------------+------------------------------
Reporter: spacedmonkey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite
--------------------------------+------------------------------
Comment (by flixos90):
I partly agree with @johnjamesjacoby, however I would even go so far to
say that we don't know what a super admin is. It technically is a network
administrator, since they are stored in a network option - however, you
can also set it via a global variable `$super_admins`, thus making it a
true global administrator by that.
I generally don't have objections regarding the functionality itself, but
another reason I think we should hold off is that our goal is to
discourage usage of `is_super_admin()` and `get_super_admins()` completely
(see my long-term favorite ticket #37616).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43527#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list