[wp-trac] [WordPress Trac] #49645: get_item function broken in rest-api
WordPress Trac
noreply at wordpress.org
Tue Mar 24 04:50:36 UTC 2020
#49645: get_item function broken in rest-api
-----------------------------------------------------+---------------------
Reporter: yohannp | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: REST API | Version: 5.3
Severity: major | Resolution:
Keywords: good-first-bug has-unit-tests has-patch | Focuses:
-----------------------------------------------------+---------------------
Comment (by sorenbronsted):
@TimothyBlynJacobs the method delete_item_permissions_check actually does
a permission check so I suppose it is not necessary to do the same
permission check in the delete_item again. The test_delete_item testcase
covers this scenario.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49645#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list