[wp-trac] [WordPress Trac] #28327: Contributor users receive an upload error when attempting to set a Featured Image

WordPress Trac noreply at wordpress.org
Tue Aug 5 01:11:09 UTC 2014


#28327: Contributor users receive an upload error when attempting to set a Featured
Image
------------------------------+---------------------------------
 Reporter:  rickybanister     |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.0
Component:  Media             |     Version:  2.9
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  ui, administration
------------------------------+---------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch commit
 * version:  trunk => 2.9
 * milestone:  Awaiting Review => 4.0


Comment:

 So, contributors cannot upload new images by default, and cannot use
 existing images either, since [source:tags/3.9.1/src/wp-admin/includes
 /ajax-actions.php#L1836 wp_ajax_query_attachments()] requires
 `upload_files` capability.

 [attachment:28327.diff] looks good to me.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28327#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list