[wp-trac] [WordPress Trac] #40349: Add network ID parameter to wp_update_network_user_counts()
WordPress Trac
noreply at wordpress.org
Thu Apr 20 00:13:44 UTC 2017
#40349: Add network ID parameter to wp_update_network_user_counts()
---------------------------------------------+------------------------
Reporter: flixos90 | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.8
Component: Networks and Sites | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: multisite
---------------------------------------------+------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"40485"]:
{{{
#!CommitTicketReference repository="" revision="40485"
Multisite: Add `$network_id` parameter to
`wp_update_network_user_counts()`.
Using the new parameter, it is now possible to update the user count on a
network different from the current one. While the count itself is
technically a global user count and not network-wide, it is stored on each
individual network, and the new parameter provides more control about
where to update the count.
Fixes #40349. See #38699.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40349#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list