media items uploaded through post-thumbnails require the post to have editor support
|Reported by:||lewismcarey||Owned by:|
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)
Change History (8)
comment:6 coffee2code — 14 months ago
- Component changed from General to Media
- Keywords needs-refresh added; has-patch removed
- Milestone changed from Awaiting Review to Future Release
- Version set to 3.1.3