[wp-trac] [WordPress Trac] #37865: Allow using the `$network_id` parameter of `get_blog_count()` again

WordPress Trac noreply at wordpress.org
Mon Apr 3 22:58:40 UTC 2017

#37865: Allow using the `$network_id` parameter of `get_blog_count()` again
 Reporter:  flixos90                         |       Owner:  flixos90
     Type:  enhancement                      |      Status:  assigned
 Priority:  normal                           |   Milestone:  4.8
Component:  Networks and Sites               |     Version:  3.7
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch commit has-unit-tests  |     Focuses:  multisite
Changes (by flixos90):

 * keywords:  has-patch commit => has-patch commit has-unit-tests


 [attachment:37865.3.diff] adds a unit test for the new parameter. Another
 (rather unstable) unit test was adjusted in order to work with an
 additional network being registered in `wpSetUpBeforeClass()`.

Ticket URL: <https://core.trac.wordpress.org/ticket/37865#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list