[wp-trac] [WordPress Trac] #49645: get_item function broken in rest-api
WordPress Trac
noreply at wordpress.org
Tue Mar 24 15:01:29 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 TimothyBlynJacobs):
Hi @sorenbronsted, it does to a permission check, but the one that was in
get was different, it was also checking against the parent resource. I
think it'd be good to keep that check. We should introduce a unit test to
cover that as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49645#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list