[wp-trac] [WordPress Trac] #29382: Unable to import media or attach media.

WordPress Trac noreply at wordpress.org
Thu Aug 28 09:06:47 UTC 2014


#29382: Unable to import media or attach media.
--------------------------+----------------------
 Reporter:  kstrassman    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  3.9.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:  close         |     Focuses:
--------------------------+----------------------

Comment (by qdinar):

 Replying to [comment:4 SergeyBiryukov]:
 > Related: #19817, #19834.
 it is about edit_posts right. it is true.

 adding following rights has helped.
 edit_others_posts
 edit_private_posts
 edit_others_pages
 edit_private_pages
 edit_pages
 edit_published_pages

 also commenting out following lines helped:
 wp admin / includes / ajax actions php - line 1650 / function
 wp_ajax_upload_attachment :

 {{{
 if ( ! current_user_can( 'edit_post', $post_id ) )
 wp_die();
 }}}

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


More information about the wp-trac mailing list