[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
Tue May 20 20:16:53 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: 2nd-opinion | Focuses: administration
--------------------------+------------------------------
Changes (by m_i_n):
* keywords: => 2nd-opinion
Comment:
I confirm the problem.
If a theme registers new post type (`register_post_type()`), and there is
NO `thumbnail` in the `supports` parameter this happens: When you "Add
media" in the editor and select "Uploaded to this post", there is a list
of all attachments, which are not assigned to any post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28219#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list