﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
8732	Empty Alt Text in wp_get_attachment_image()	miqrogroove	azaozz	"wp_get_attachment_link() calls wp_get_attachment_image() which unconditionally returns an empty alt attribute at line 536:

{{{
		$html = '<img src=""'.attribute_escape($src).'"" '.$hwstring.'class=""attachment-'.attribute_escape($size).'"" alt="""" />';
}}}

This is wrong because wp-admin/media.php?action=edit says under the Caption field, ""Also used as alternate text for the image"".  Therefore, wp_get_attachment_image() should be returning the attachment caption.

fwiw, I believe this also affected the 2.6 branch.  I decided to report now that I see it's not fixed yet."	defect (bug)	closed	normal	2.8	Media	2.7	normal	fixed	has-patch tested	
