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

WordPress Trac noreply at wordpress.org
Wed Oct 19 05:18:39 UTC 2016

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

 * keywords:  has-patch 2nd-opinion => has-patch
 * milestone:  Awaiting Review => Future Release


 Nice one. It's fun to see the history on the deprecation.

 I think the approach in [attachment:37865.diff] makes sense for the time
 being. Since we aren't actually adding any new functionality, we should
 stick with the same name (`get_blog_count()`). In the future, if we think
 of something super interesting to do with a new version of the function,
 we may want to explore a `get_site_count()`.

 `get_global_site_count()` could be interesting once we have a better idea
 of what global options look like.

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

More information about the wp-trac mailing list