[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
Fri Jun 6 12:01:51 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: minor | Resolution:
Keywords: | Focuses: administration
--------------------------+------------------------------
Changes (by ericlewis):
* severity: normal => minor
Comment:
Replying to [comment:8 m_i_n]:
> Your post type still have `thumbnail` in supports:
I removed 'thumbnail' from the 'supports' array, still cannot reproduce
this bug.
Replying to [comment:1 bobbingwide]:
> I have traced this problem further. It would appear that the
wp_enqueue_media() function is being called multiple times by WordPress
SEO it first gets invoked by 'admin_enqueue_scripts' but the post
information is not passed until 'media_buttons'
Replying to [comment:2 bobbingwide]:
> Similarly, with EDD
This sounds like a bug with those plugins, and not with core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28219#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list