[wp-trac] Re: [WordPress Trac] #8732: Empty Alt Text in wp_get_attachment_image()

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 27 06:53:37 GMT 2008


#8732: Empty Alt Text in wp_get_attachment_image()
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  new      
 Priority:  normal        |    Milestone:  2.7.1    
Component:  General       |      Version:  2.7      
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by miqrogroove):

 Current workaround

 {{{
 str_replace('alt=""', 'alt="'.get_the_excerpt().'"',
 wp_get_attachment_link($post->ID, array(450, 800))
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8732#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list