WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 4 months ago

#36990 closed enhancement (fixed)

Add manage_users_extra_tablenav action to WP_Users_List_Table class

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

Description

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 3 years ago.
Patch for WP_Users_List_Table
36990.diff (829 bytes) - added by adamsilverstein 2 years ago.

Download all attachments as: .zip

Change History (6)

@GunGeekATX
3 years ago

Patch for WP_Users_List_Table

#1 @GunGeekATX
3 years ago

  • Keywords has-patch added

#2 @adamsilverstein
2 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
2 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
4 months ago

#38473 was marked as a duplicate.

Note: See TracTickets for help on using tickets.