Changes between Initial Version and Version 3 of Ticket #49118
- Timestamp:
- 01/02/2020 07:10:38 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49118
- Property Keywords has-patch commit added
-
Property
Version
changed from
to4.9.6 -
Property
Milestone
changed from
Awaiting Reviewto5.4
-
Ticket #49118 – Description
initial v3 1 1 Related: #42202 2 2 3 Changeset [ https://core.trac.wordpress.org/changeset/4313743137] added a `who=authors` parameter to the `list users` endpoint.3 Changeset [43137] added a `who=authors` parameter to the `list users` endpoint. 4 4 5 5 When that parameter is present, `WP_REST_Users_Controller::get_items_permissions_check()` checks that the current user has the capability to `edit_posts` for at least 1 post type that has `show_in_rest = true` and supports author. That check loops through **all** post types with `show_in_rest = true`.