[wp-trac] [WordPress Trac] #37528: Add network ID parameter to wp_update_network_site_counts()

WordPress Trac noreply at wordpress.org
Wed Apr 19 23:59:17 UTC 2017


#37528: Add network ID parameter to wp_update_network_site_counts()
-------------------------------------------------+-------------------------
 Reporter:  johnjamesjacoby                      |       Owner:  flixos90
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.8
Component:  Networks and Sites                   |     Version:  4.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:  multisite
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"40484"]:
 {{{
 #!CommitTicketReference repository="" revision="40484"
 Multisite: Add `$network_id` parameter to
 `wp_update_network_site_counts()`.

 Using the new parameter, it is now possible to update the site counts on a
 network different from the current network.

 Props PieWP, johnjamesjacoby.
 Fixes #37528. See #38699.
 }}}

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


More information about the wp-trac mailing list