﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
17668	Revisions should require same caps as parents for read/edit/delete	ejdanderson	markjaquith	"wp_post_revision_title is displaying the post edit link based off of a user's edit_post capability for the revision post type, not it's parent's post type. 

The issue resides in the get_edit_post_link method, where it checks on the given post type's capability.

I've attached a simple fix. 

EDIT: It seems that revisions always use (read|edit|delete)_post for cap checks even if the post-type of their parent uses something custom.  This results in users that are able to read/edit/delete revisions of posts that they don't have caps to read/edit/delete"	defect (bug)	closed	normal	3.2	Revisions	3.2	minor	fixed	2nd-opinion has-patch	jjj@…
