Opened 8 years ago
Closed 8 years ago
#40406 closed enhancement (fixed)
Replace `is_super_admin()` check when setting up multisite
Reported by: | flixos90 | Owned by: | flixos90 |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | needs-patch |
Focuses: | multisite | Cc: |
Description
When setting up multisite, an is_super_admin()
check is made in populate_network()
. As discussed with @johnbillion at WordCamp Torino, that check can easily be removed, and instead the previous query can be adjusted to query users with the administrator role only.
This ticket is part of the #37616 task and is described in https://core.trac.wordpress.org/ticket/37616#comment:62.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 40406: