Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#40385 closed enhancement (fixed)

Add network ID parameter to `wp_maybe_update_network_user_counts()`

Reported by: flixos90's profile flixos90 Owned by: flixos90's profile flixos90
Milestone: 4.8 Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: has-patch
Focuses: multisite Cc:

Description

Once wp_update_network_user_counts() supports a $network_id parameter (see #40349), we can add that parameter to wp_maybe_update_network_user_counts() as well.

Attachments (1)

40385.diff (981 bytes) - added by flixos90 8 years ago.

Download all attachments as: .zip

Change History (5)

This ticket was mentioned in Slack in #core-multisite by flixos90. View the logs.


8 years ago

#2 @flixos90
8 years ago

  • Owner set to flixos90
  • Status changed from new to assigned

@flixos90
8 years ago

#3 @flixos90
8 years ago

  • Keywords has-patch added; needs-patch removed

40385.diff adds the $network_id parameter to the function.

#4 @flixos90
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 40593:

Multisite: Add $network_id parameter to wp_maybe_update_network_user_counts().

This allows calling the function for a specific network correctly, for example after a user has been created for it or been removed from it.

Fixes #40385. See #38699.

Note: See TracTickets for help on using tickets.