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

WordPress Trac noreply at wordpress.org
Wed May 10 23:21:45 UTC 2017


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40612"]:
 {{{
 #!CommitTicketReference repository="" revision="40612"
 Multisite: Adjust site count of the correct network after having created a
 new site.

 Prior to this change, after creating a site, the network site count was
 always refreshed on the current network, regardless of whether the site
 was created on a different network. With the recent changes, particularly
 [40591], it is now possible to update the site count for a specific
 `$network_id`, so this changeset makes use of the new parameter.

 Fixes #38699.
 }}}

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


More information about the wp-trac mailing list