Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#40386 closed enhancement (fixed)

Add network ID parameter to `wp_update_network_counts()`

Reported by: flixos90 Owned by: flixos90
Priority: normal Milestone: 4.8
Component: Networks and Sites Version:
Severity: normal Keywords: has-patch has-unit-tests commit
Cc: Focuses: multisite

Description

Once wp_update_network_site_counts() and wp_update_network_user_counts() support a $network_id parameter (see #37528 and #40349), we can add that parameter to wp_update_network_counts() as well.

Attachments (1)

40386.diff (2.0 KB ) - added by flixos90 9 years ago.

Download all attachments as: .zip

Change History (3)

@flixos90
9 years ago

#1 @flixos90
9 years ago

  • Keywords has-patch has-unit-tests commit added; needs-patch removed
  • Owner set to flixos90
  • Status newassigned

40386.diff adds the $network_id parameter and tests.

#2 @flixos90
9 years ago

  • Resolutionfixed
  • Status assignedclosed

In 40486:

Multisite: Add $network_id parameter to wp_update_network_counts().

After the $network_id parameter has been introduced for wp_update_network_site_counts() in [40484] and wp_update_network_user_counts() in [40485], the new parameter can now also be used on the wrapping function.

Fixes #40386. See #38699.

Note: See TracTickets for help on using tickets.