[wp-trac] [WordPress Trac] #28219: add_media 'Uploaded to this post' listing unattached files when post type does not support 'thumbnail'

WordPress Trac noreply at wordpress.org
Wed May 28 19:04:12 UTC 2014


#28219: add_media 'Uploaded to this post' listing unattached files when post type
does not support 'thumbnail'
-------------------------------+------------------------------
 Reporter:  bobbingwide        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  3.9
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  administration
-------------------------------+------------------------------

Comment (by m_i_n):

 Your post type still have `thumbnail` in supports:


 {{{
 'supports'           => array( 'title', 'editor', 'author', 'thumbnail',
 'excerpt', 'comments' )
 }}}

 and the problem exist only if the post type doesn't support it.

 Also, don't do your step 3 at all - it's not related.

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


More information about the wp-trac mailing list