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

WordPress Trac noreply at wordpress.org
Mon Sep 7 20:05:07 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 Review
Component:  Media                         |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+------------------------------
Changes (by swissspidy):

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


Comment:

 As I also mentioned on #33772, a real patch showing your changes would be
 nice.

 Also, a unit test exists for the `wp_prepare_attachment_for_js` function
 which would need to be extended to reflect this change. You can read this
 section about [https://make.wordpress.org/core/handbook/testing/automated-
 testing/ automated testing] to see what that means. Don't worry if it
 doesn't work or something, I'm sure someone else could help out too.

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


More information about the wp-trac mailing list