Changes between Version 3 and Version 5 of Ticket #49118
- Timestamp:
- 01/02/2020 09:22:56 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49118
-
Property
Status
changed from
new
toreviewing
- Property Owner set to SergeyBiryukov
-
Property
Status
changed from
-
Ticket #49118 – Description
v3 v5 1 1 Related: #42202 2 2 3 Changeset [43 137] added a `who=authors` parameter to the `list users` endpoint.3 Changeset [43001]/[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`.