[wp-trac] [WordPress Trac] #17215: Featured images for post types without editor can't be used by other types

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 22 16:09:21 UTC 2011


#17215: Featured images for post types without editor can't be used by other types
-----------------------------+-----------------------------
 Reporter:  jleuze           |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Post Thumbnails  |    Version:  3.1.1
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 If a featured image is added to a custom post type without the editor
 enabled, it shows up in the media library and other post types can use it
 as a featured image, but it can't be added to the post. The "Insert into
 Post" button is missing when you browse to the image to add it.

 I ran into this problem with my own plugin
 [http://wordpress.org/extend/plugins/meteor-slides/ Meteor Slides], but
 the issue isn't specific to my plugin, it can be reproduced with any
 custom post type.

 I used the
 [http://codex.wordpress.org/Function_Reference/register_post_type#Example
 example in the Codex] to test it, and the problem was the same as with my
 plugin. I tested this with both 3.1.1 and the nightly of 3.2 and the issue
 was consistent in both versions.

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


More information about the wp-trac mailing list