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

WordPress Trac noreply at wordpress.org
Sun Nov 16 22:49:29 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
Component:  Media                                |  Review
 Severity:  normal                               |     Version:
 Keywords:  has-patch reporter-feedback needs-   |  Resolution:
  testing                                        |     Focuses:
                                                 |  accessibility
-------------------------------------------------+-------------------------
Changes (by collinsinternet):

 * keywords:  has-patch => has-patch reporter-feedback needs-testing


Comment:

 This doesn't work since image_downsize() is returned prior to your
 additions (at least in my tests).  Also you will need to update the PHPDoc
 Block @return value to reflect what is being returned.

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


More information about the wp-trac mailing list