[wp-trac] [WordPress Trac] #40489: Add network ID parameter to wp_is_large_network()

WordPress Trac noreply at wordpress.org
Thu Apr 20 00:37:34 UTC 2017


#40489: Add network ID parameter to wp_is_large_network()
--------------------------------+-------------------------
 Reporter:  flixos90            |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  4.8
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:  needs-patch
  Focuses:  multisite           |
--------------------------------+-------------------------
 Since network options are globally accessible for every network (without
 involving any expensive switching function), we should add a `$network_id`
 parameter to `wp_is_large_network()` that will allow to check those
 conditions for a network other than the current one.

 This enhancement is furthermore required in order to make #40384 and
 #40385 possible.

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


More information about the wp-trac mailing list