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

WordPress Trac noreply at wordpress.org
Thu May 3 06:53:11 UTC 2018


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

Comment (by SergeyBiryukov):

 In [changeset:"43138" 43138]:
 {{{
 #!CommitTicketReference repository="" revision="43138"
 REST API: When handling `who=authors` query parameter for `GET
 wp/v2/users`, only check `edit_posts` for post types that support
 `author`.

 Props danielbachhuber.
 Merges [43137] to the 4.9 branch.
 Fixes #42202.
 }}}

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


More information about the wp-trac mailing list