Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#15932 closed defect (bug) (fixed)

Missing filter for user actions in ms users list table

Reported by: jshreve Owned by: westi
Milestone: 3.2 Priority: normal
Severity: normal Version: 3.1
Component: Network Admin Keywords: has-patch commit
Focuses: multisite Cc:


Right now the only way to hook into class-wp-ms-users-list-table.php is to use manage_users_custom_column. If you want to add a new link for a user each will need a column.

There is no filter for adding action links under the username on these screens.

This patch adds a filter similar to class-wp-ms-sites-list-table's manage_sites_action_links.

Attachments (2)

manage_users_action_links.diff (930 bytes) - added by jshreve 5 years ago.
Adds a manage_users_action_links filter
15932.diff (763 bytes) - added by sorich87 4 years ago.
Add 'ms_user_row_actions'

Download all attachments as: .zip

Change History (7)

5 years ago

Adds a manage_users_action_links filter

#1 @westi
5 years ago

  • Component changed from General to Network Admin
  • Keywords 3.2-early added
  • Milestone changed from Awaiting Review to Future Release
  • Version set to 3.1

Looks Great.

@PeteMall - I think we need to do a sweep through and add lots like this in 3.2

#2 @scribu
4 years ago

  • Keywords needs-patch added; has-patch 3.2-early removed
  • Milestone changed from Future Release to 3.2

Closed #17137 as dup.

The filter should be named 'ms_user_row_actions' for consistency with other list tables and the 'ms_user_list_site_actions' present in the same class.

4 years ago

Add 'ms_user_row_actions'

#3 @sorich87
4 years ago

  • Keywords has-patch added; needs-patch removed

#4 @scribu
4 years ago

  • Keywords commit added

#5 @westi
4 years ago

  • Owner set to westi
  • Resolution set to fixed
  • Status changed from new to closed

In [18090]:

Add a ms_user_row_actions filter on the actions array for the Network Users table. Fixes #15932 props sorich87

Note: See TracTickets for help on using tickets.