[wp-trac] [WordPress Trac] #17784: media items uploaded through post-thumbnails require the post to have editor support

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 13 12:53:14 UTC 2011


#17784: media items uploaded through post-thumbnails require the post to have
editor support
--------------------------+-----------------------------
 Reporter:  lewismcarey   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 When uploading a media item via add featured image (post-thumbnails) on a
 custom post type that does not support an editor prevents that media item
 from being inserted into other posts (as the insert into post button is
 not present) on other post types that do support and editor.
 The issue is with media.php line 1289 if ($send)
 $send is set to false on these media items.
 Media items uploaded to the media library should not be associated with a
 post-type if they are also going to be available elsewhere or the default
 $args for send should not be checking for editor support media.php line
 1187 (function get_media_item)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17784>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list