[wp-trac] [WordPress Trac] #42202: REST API: no equivalent for `who=authors` to display potential authors

WordPress Trac noreply at wordpress.org
Fri Apr 13 01:36:56 UTC 2018


#42202: REST API: no equivalent for `who=authors` to display potential authors
-------------------------+-----------------------
 Reporter:  iseulde      |       Owner:  joehoyle
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  5.0
Component:  REST API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------

Comment (by danielbachhuber):

 For the purposes of querying for users who can be assigned to posts, I
 think we should introduce a `who` query argument which accepts `author`.
 This is the simplest way to emulate the classic editor behavior for
 `wp_dropdown_users()`. We can change the underlying implementation at some
 future date if we need to.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42202#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list