Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#43318 new enhancement

New filter suggestion for manage_users-network_custom_column

Reported by: lenasterg's profile lenasterg Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Users Keywords:
Focuses: multisite Cc:


In a multisite installation, currently a custom column for the users list table uses the filter 'manage_users_custom_column' for both network users admin table and single subsite users admin table.

This is a bit confusing for plugin development since all the other filters and actions used in the network users admin table are based on the $screen->id, which for the network users admin page is "users-network".
For example the filters: "manage_users-network_columns" and "manage_users-network_sortable_columns"

The attached is a suggestion for introducing the filter 'manage_users-network_custom_column', without dropping the support for 'manage_users_custom_colunm.

Attachments (1)

class-wp-ms-users-list-table.php.patch (1.0 KB) - added by lenasterg 6 years ago.

Download all attachments as: .zip

Change History (2)

#1 @pento
6 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.