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

WordPress Trac noreply at wordpress.org
Wed Apr 25 12:23:58 UTC 2018


#42202: REST API: no equivalent for `who=authors` to display potential authors
---------------------------------------------+-----------------------
 Reporter:  iseulde                          |       Owner:  pento
     Type:  enhancement                      |      Status:  assigned
 Priority:  normal                           |   Milestone:  4.9.6
Component:  Users                            |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------

Comment (by pento):

 @danielbachhuber: Is there any particular reason for the condition in
 `::get_items_permissions_check()` to be `! empty( $request['who'] )`,
 rather than `'authors' === $request['who']`?

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


More information about the wp-trac mailing list