[wp-trac] [WordPress Trac] #47965: Missing strict comparison check in REST Autosaves Controller
WordPress Trac
noreply at wordpress.org
Mon Sep 30 08:53:14 UTC 2019
#47965: Missing strict comparison check in REST Autosaves Controller
--------------------------+------------------------------
Reporter: dkarfa | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: rest-api
--------------------------+------------------------------
Comment (by itowhid06):
I completely agree with @TimothyBlynJacobs about `$post->post_author ===
$user_id` check. Also the patch doesn't apply properly and I've refreshed
it. I hope @dkarfa is OK with it :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47965#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list