Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

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

Merged
merged 1 commit into from Jan 30, 2016
Merged

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

merged 1 commit into from Jan 30, 2016

Conversation

danielbachhuber
Copy link
Member

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()`
@danielbachhuber
Copy link
Member Author

@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
@rmccue rmccue deleted the 1040-trash-status branch January 30, 2016 15:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants