Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Return original resource with DELETE /wp/v2/comments/<id> - #2163

#2163
Merged
rmccue merged 1 commit into
developWP-API/WP-API:developfrom
1260-delete-comment-responseWP-API/WP-API:1260-delete-comment-responseCopy head branch name to clipboard
Jan 30, 2016
Merged

Return original resource with DELETE /wp/v2/comments/<id>#2163
rmccue merged 1 commit into
developWP-API/WP-API:developfrom
1260-delete-comment-responseWP-API/WP-API:1260-delete-comment-responseCopy head branch name to clipboard

Conversation

@danielbachhuber

Copy link
Copy Markdown
Member

Now that all resources require the force param, we don't need to wrap
delete responses with the trash state.

See #1260

Now that all resources require the `force` param, we don't need to wrap
delete responses with the `trash` state.
@danielbachhuber danielbachhuber added this to the 2.0 Beta 12 milestone Jan 30, 2016
@danielbachhuber

Copy link
Copy Markdown
Member Author

@WP-API/amigos #reviewmerge

rmccue added a commit that referenced this pull request Jan 30, 2016
Return original resource with `DELETE /wp/v2/comments/<id>`
@rmccue
rmccue merged commit d32b23e into develop Jan 30, 2016
@rmccue
rmccue deleted the 1260-delete-comment-response branch January 30, 2016 15:10
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.