[wp-trac] [WordPress Trac] #40349: Add network ID parameter to wp_update_network_user_counts()
WordPress Trac
noreply at wordpress.org
Mon Apr 3 23:53:18 UTC 2017
#40349: Add network ID parameter to wp_update_network_user_counts()
--------------------------------+------------------------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Networks and Sites | Version:
Severity: normal | Keywords: needs-patch needs-unit-tests
Focuses: multisite |
--------------------------------+------------------------------------------
While user counts are currently global, they are stored per network. At
some point in the future there might be actual network user counts, and we
should make sure the infrastructure is flexible enough.
Therefore I'm proposing to add a `$network_id` parameter to
`wp_update_network_user_counts()`, similar as proposed in #37528.
The related function `get_user_count()` was enhanced in a similar way (see
#37866).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40349>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list