[wp-trac] [WordPress Trac] #38699: Site count incorrect when using wpmu_create_blog() from a different network

WordPress Trac noreply at wordpress.org
Thu Apr 20 00:13:43 UTC 2017


#38699: Site count incorrect when using wpmu_create_blog() from a different network
--------------------------------+------------------------
 Reporter:  johnjamesjacoby     |       Owner:  flixos90
     Type:  task (blessed)      |      Status:  assigned
 Priority:  normal              |   Milestone:  4.8
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------

Comment (by flixos90):

 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/38699#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list