[wp-trac] [WordPress Trac] #43709: Fix or remove the "delete revision" endpoint
WordPress Trac
noreply at wordpress.org
Thu Aug 15 20:23:31 UTC 2019
#43709: Fix or remove the "delete revision" endpoint
-------------------------------------------------+-------------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.3
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests early | Focuses: rest-api
needs-dev-note |
-------------------------------------------------+-------------------------
Comment (by kadamwhite):
The patch looks good, but I'm seeing this error:
{{{
1)
WP_Test_REST_Revisions_Controller::test_delete_item_cannot_delete_parent
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'rest_cannot_delete'
+'rest_cannot_read'
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43709#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list