[wp-trac] [WordPress Trac] #29443: wp_get_attachment_image 4st. parameter $attr should be reference &$attr

WordPress Trac noreply at wordpress.org
Mon Sep 1 07:17:59 UTC 2014


#29443: wp_get_attachment_image 4st. parameter $attr should be reference &$attr
--------------------------+------------------------------
 Reporter:  heddesheimer  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.9.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------

Comment (by heddesheimer):

 Thanks for that. When I use the wp_get_attachment_image_attributes filter
 I get all the attributes, except for the class wp-post-image, so I guess,
 I just have to add this manually.

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


More information about the wp-trac mailing list