[wp-trac] [WordPress Trac] #19290: Not possible to set post thumbnails without edit_post capability
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 18 13:39:26 UTC 2011
#19290: Not possible to set post thumbnails without edit_post capability
-----------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Thumbnails | Version: 3.3
Severity: normal | Keywords:
-----------------------------+-----------------------------
Steps to reproduce:
* Register a custom post type which supports a thumbnail and uses custom
capability mapping.
* Give a user (or role) the ability to upload files (`upload_files`) and
the ability to edit posts of the post type (eg. `edit_foos`) but not the
ability to edit posts (`edit_posts`).
This user will be able to upload files and will see a link to 'Use as
featured image' but when this link is clicked the featured image won't be
set and will fail with a response of '-1' which shows up in the 'Featured
Image' meta box.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19290>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list