WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 8 weeks ago

#47685 reviewing enhancement

Allow developers to filter the authors list on quick edit dropdown

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

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 4 months ago.

Download all attachments as: .zip

Change History (5)

#1 @Mista-Flo
4 months ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
3 months ago

  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @davidbaumwald
8 weeks ago

  • Keywords commit added

@SergeyBiryukov Can this one be moved forward for version 5.3 Beta 1 tomorrow? The patch looks clean. Would this need a small Dev Note as well?

#4 @davidbaumwald
8 weeks ago

  • Keywords commit removed
  • Milestone changed from 5.3 to Future Release

With 5.3 Beta 1 being released today, Iā€™m punting this to Future Release.

Note: See TracTickets for help on using tickets.