[wp-trac] [WordPress Trac] #43709: Fix or remove the "delete revision" endpoint
WordPress Trac
noreply at wordpress.org
Fri Apr 6 12:58:54 UTC 2018
#43709: Fix or remove the "delete revision" endpoint
--------------------------+-----------------
Reporter: azaozz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: REST API | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------
Allowing the client to delete revisions breaks the "audit trail"
functionality. This is not allowed in WordPress and shouldn't be allowed
through the API.
Ideally the delete revision endpoint should be removed. Alternatively it
can require a specific permission which should be `false` by default for
all user roles.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43709>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list