[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 11:11:59 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:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by bobbingwide):

 It would appear that the fix applied to WordPress SEO (v 1.5.3.3) was to
 include the post_id on the call to wp_enqueue_media().

 I imagine it will work for Easy Digital Downloads as well.

 Question: Should the codex be updated? Or is there still room for
 improvement to the core code?

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


More information about the wp-trac mailing list