Make WordPress Core

Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#36990 closed enhancement (fixed)

Add manage_users_extra_tablenav action to WP_Users_List_Table class

Reported by: gungeekatx's profile GunGeekATX Owned by: adamsilverstein's profile adamsilverstein
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.5.2
Component: Users Keywords: commit
Focuses: Cc:


The WP_Posts_List_Table class has a manage_posts_extra_tablenav hook at the end of the extra_tablenav() function, but no such functionality exists in the WP_Users_List_Table class. The addition of this hook will add parity between these two list table classes. Related to #35307

Attachments (2)

36990.patch (750 bytes) - added by GunGeekATX 7 years ago.
Patch for WP_Users_List_Table
36990.diff (829 bytes) - added by adamsilverstein 6 years ago.

Download all attachments as: .zip

Change History (6)

7 years ago

Patch for WP_Users_List_Table

#1 @GunGeekATX
7 years ago

  • Keywords has-patch added

#2 @adamsilverstein
6 years ago

  • Keywords commit added; has-patch removed
  • Milestone changed from Awaiting Review to 4.9
  • Owner set to adamsilverstein
  • Status changed from new to assigned

looks good. I added a since tag and re-generated from the root folder.

#3 @DrewAPicture
6 years ago

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

In 40974:

Users: Introduce the manage_users_extra_tablenav action, fired immediately outside the closing "actions" div in the Users list table tablenav.

A similar manage_posts_extra_tablenav hook fires in the same location and context in the Posts list table tablenav.

Props GunGeekATX, adamsilverstein.
Fixes #36990.

#4 @desrosj
5 years ago

#38473 was marked as a duplicate.

Note: See TracTickets for help on using tickets.