[wp-trac] [WordPress Trac] #40406: Replace `is_super_admin()` check when setting up multisite

WordPress Trac noreply at wordpress.org
Mon Apr 10 21:43:13 UTC 2017

#40406: Replace `is_super_admin()` check when setting up multisite
 Reporter:  flixos90            |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  4.8
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:  needs-patch
  Focuses:  multisite           |
 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

Ticket URL: <https://core.trac.wordpress.org/ticket/40406>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list