WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 5 weeks ago

#47685 reviewing enhancement

Allow developers to filter the authors list on quick edit dropdown

Reported by: Mista-Flo Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: Quick/Bulk Edit Keywords: has-patch
Focuses: administration Cc:

Description

Hello,

I want to find a way to filter the author list displayed in quick edit dropdown. I basically want to remove some roles of this list.

But there is currently no hook so I have to go through the wp_dropdown_users function, then use wp_dropdown_users_args filter, but this functions is also called on a lot of other parts of the backend, so I have to be sure that I'm only affecting the quick edit query.

So it would be nice to just add a particular filter for this quick edit author dropdown.

Attachments (1)

47685.1.patch (991 bytes) - added by Mista-Flo 2 months ago.

Download all attachments as: .zip

Change History (3)

@Mista-Flo
2 months ago

#1 @Mista-Flo
2 months ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
5 weeks ago

  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.