Make WordPress Core

Opened 16 years ago

Closed 15 years ago

#15932 closed defect (bug) (fixed)

Missing filter for user actions in ms users list table

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

Description

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 16 years ago.
Adds a manage_users_action_links filter
15932.diff (763 bytes ) - added by sorich87 15 years ago.
Add 'ms_user_row_actions'

Download all attachments as: .zip

Change History (7)

@jshreve
16 years ago

Adds a manage_users_action_links filter

#1 @westi
16 years ago

  • Component GeneralNetwork Admin
  • Keywords 3.2-early added
  • Milestone Awaiting ReviewFuture Release
  • Version3.1

Looks Great.

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

#2 @scribu
15 years ago

  • Keywords needs-patch added; has-patch 3.2-early removed
  • Milestone Future Release3.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.

@sorich87
15 years ago

Add 'ms_user_row_actions'

#3 @sorich87
15 years ago

  • Keywords has-patch added; needs-patch removed

#4 @scribu
15 years ago

  • Keywords commit added

#5 @westi
15 years ago

  • Owner set to westi
  • Resolutionfixed
  • Status newclosed

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.