Skip to content
This repository has been archived by the owner. It is now read-only.

Add `trash` status to `GET /wp/v2/statuses` #2158

merged 1 commit into from Jan 30, 2016


Copy link

commented Jan 30, 2016

Also creates get_item_permissions_check() to move check out of
prepare_item_for_response(), and uses current_user_can( 'edit_posts' ) as a view cap check instead of is_user_logged_in()

Fixes #1040
Fixes #2157
Fixes #2143

Also creates `get_item_permissions_check()` to move check out of
`prepare_item_for_response()`, and uses `current_user_can( 'edit_posts'
)` as a view cap check instead of `is_user_logged_in()`

This comment has been minimized.

Copy link
Member Author

commented Jan 30, 2016

@WP-API/amigos #reviewmerge

rmccue added a commit that referenced this pull request Jan 30, 2016
Add `trash` status to `GET /wp/v2/statuses`
@rmccue rmccue merged commit 456472e into develop Jan 30, 2016
3 checks passed
3 checks passed
Scrutinizer 2 new issues, 3 updated code elements
codecov/project 93.91% (target 80.00%)
continuous-integration/travis-ci/pr The Travis CI build passed
@rmccue rmccue deleted the 1040-trash-status branch Jan 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
2 participants
You can’t perform that action at this time.