[wp-trac] [WordPress Trac] #17668: wp_post_revision_title capabilities
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 2 17:47:33 UTC 2011
#17668: wp_post_revision_title capabilities
--------------------------+-----------------------------
Reporter: ejdanderson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version: 3.2
Severity: minor | Keywords:
--------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17668>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list