WordPress.org

Make WordPress Core

Changes between Initial Version and Version 7 of Ticket #17668


Ignore:
Timestamp:
06/08/11 16:19:36 (3 years ago)
Author:
aaroncampbell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17668

    • Property Keywords 2nd-opinion has-patch added
    • Property Summary changed from wp_post_revision_title capabilities to Revisions should require same caps as parents for read/edit/delete
    • Property Milestone changed from Awaiting Review to 3.2
  • Ticket #17668 – Description

    initial v7  
    44 
    55I've attached a simple fix.  
     6 
     7EDIT: 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