[wp-trac] [WordPress Trac] #43709: Fix or remove the "delete revision" endpoint
WordPress Trac
noreply at wordpress.org
Fri Apr 13 07:26:57 UTC 2018
#43709: Fix or remove the "delete revision" endpoint
--------------------------+------------------------------
Reporter: azaozz | Owner: danielbachhuber
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.0
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Comment (by azaozz):
Yeah, capability based approach will make it easier for plugins to enable
deleting of revisions. As far as I see the checks should be if the current
user can:
- Delete the parent post.
- Delete attachments. This should always be "do_not_allow" by default.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43709#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list