[wp-trac] [WordPress Trac] #30180: wp_get_attachment_image_src does not return alt or meta

WordPress Trac noreply at wordpress.org
Wed Oct 29 18:42:56 UTC 2014


#30180: wp_get_attachment_image_src does not return alt or meta
---------------------------+-----------------------------
 Reporter:  joedolson      |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Media          |    Version:
 Severity:  normal         |   Keywords:  has-patch
  Focuses:  accessibility  |
---------------------------+-----------------------------
 In practical use,wp_get_attachment_image_src is very useful for displaying
 an attached image - but requires a separate call to get any other image
 meta or the alt attribute.

 In addition to making any application that needs alt attr or meta data for
 display simpler, having the alt attribute present in this function
 increases the likelihood that developers will use the alt attribute in
 their ultimate output.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30180>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list