[wp-trac] [WordPress Trac] #37866: Introduce `$network_id` parameter in `get_user_count()`

WordPress Trac noreply at wordpress.org
Wed Dec 7 16:20:00 UTC 2016


#37866: Introduce `$network_id` parameter in `get_user_count()`
-----------------------------------+------------------------------
 Reporter:  flixos90               |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Networks and Sites     |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  multisite
-----------------------------------+------------------------------

Comment (by flixos90):

 Since the user count is actually global, but saved as a network option,
 supporting the `$network_id` parameter doesn't currently have any actual
 value. Still, it would allow accessing the option of another network which
 theoretically might be different. Should we add the parameter (also for
 parity with `get_blog_count()` in #37865) or not?

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


More information about the wp-trac mailing list