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

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

Merged
rmccue merged 1 commit into
developfrom
1040-trash-status
Jan 30, 2016
Merged

Add trash status to GET /wp/v2/statuses#2158
rmccue merged 1 commit into
developfrom
1040-trash-status

Conversation

@danielbachhuber

Copy link
Copy Markdown
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
Copy Markdown
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

2 participants