[wp-trac] [WordPress Trac] #41805: Use get_network in populate_network function

WordPress Trac noreply at wordpress.org
Fri Sep 8 15:57:49 UTC 2017


#41805: Use get_network in populate_network function
--------------------------------+------------------------
 Reporter:  spacedmonkey        |       Owner:  flixos90
     Type:  enhancement         |      Status:  reviewing
 Priority:  normal              |   Milestone:  4.9
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------
Changes (by flixos90):

 * owner:   => flixos90
 * status:  new => reviewing
 * milestone:  Awaiting Review => 4.9


Comment:

 @spacedmonkey Good catch! [attachment:41805.2.diff] uses `get_network()`
 conditionally. This is needed because `populate_network()` may also be
 used when multisite is being set up and the multisite API is not yet
 available.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41805#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list