[wp-trac] [WordPress Trac] #22415: media-upload.php should check whether current user can edit a particular post type
WordPress Trac
noreply at wordpress.org
Thu Nov 15 15:39:40 UTC 2012
#22415: media-upload.php should check whether current user can edit a particular
post type
-------------------------------+------------------------------
Reporter: danielbachhuber | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:4 TXC]:
> Because WP haven't got the edit_post capability, but only edit_posts.
`edit_post` is a meta capability: [[BR]]
http://core.trac.wordpress.org/browser/tags/3.4.2/wp-
includes/capabilities.php#L1009
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22415#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list