[wp-trac] [WordPress Trac] #33768: Include image_meta in wp_prepare_attachment_for_js response for images

WordPress Trac noreply at wordpress.org
Thu Sep 17 04:25:39 UTC 2015


#33768: Include image_meta in wp_prepare_attachment_for_js response for images
----------------------------------------------+----------------------------
 Reporter:  SteveHoneyNZ                      |       Owner:
     Type:  enhancement                       |      Status:  new
 Priority:  normal                            |   Milestone:  Awaiting
Component:  Media                             |  Review
 Severity:  normal                            |     Version:  trunk
 Keywords:  needs-unit-tests has-patch close  |  Resolution:
                                              |     Focuses:
----------------------------------------------+----------------------------
Changes (by wonderboymusic):

 * keywords:  needs-unit-tests has-patch => needs-unit-tests has-patch close


Comment:

 The other types need the metadata to render in the admin/media modal
 properly. Images do not. `$meta` is available as a param to the
 `'wp_prepare_attachment_for_js'` filter. I would suggest adding it to the
 response there.

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


More information about the wp-trac mailing list