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

Disambiguate between trashed and permanently deleted Posts and Comments #1260

Description

@danielbachhuber

In develop, a client making a DELETE request to Posts or Comments has no way of distinguishing between whether the request trashed the resource or permanently deleted it. We should provide this detail.

From #1224

Also, 2x DELETE wp/v2/comments/<id> will permanently delete a comment, but 2x DELETE wp/v2/posts/<id> will return some rest_already_deleted error (2d5cf2c, #959). We should make sure these are consistent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Sponsor
    SponsoredKunjungi sekarang
    Promo