[wp-trac] [WordPress Trac] #30180: wp_get_attachment_image_src does not return alt or meta
WordPress Trac
noreply at wordpress.org
Sat Dec 12 05:49:57 UTC 2015
#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 | Resolution:
Keywords: needs-testing needs-patch | Focuses: accessibility
---------------------------------------+------------------------------
Comment (by joemcgill):
It may be better to create a new function that returns these attributes,
rather than adding more logic to `image_downsize()` since
`image_downsize()` is already pretty slow and is used in the logic chain
of many other image functions, like wp_get_attachment_image() and
`get_post_thumbnail()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30180#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list