[wp-trac] [WordPress Trac] #47685: Allow developers to filter the authors list on quick edit dropdown

WordPress Trac noreply at wordpress.org
Thu Jul 11 15:26:14 UTC 2019


#47685: Allow developers to filter the authors list on quick edit dropdown
-----------------------------+-----------------------------
 Reporter:  Mista-Flo        |      Owner:  (none)
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Quick/Bulk Edit  |    Version:
 Severity:  normal           |   Keywords:  needs-patch
  Focuses:  administration   |
-----------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47685>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list