[wp-trac] [WordPress Trac] #6339: get_avatar produces invalid XHTML for default avatar

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 21 21:00:34 GMT 2008


#6339: get_avatar produces invalid XHTML for default avatar
---------------------+------------------------------------------------------
 Reporter:  Otto42   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  high     |   Milestone:  2.5      
Component:  General  |     Version:  2.5      
 Severity:  major    |    Keywords:           
---------------------+------------------------------------------------------
 Trunk. pluggable.php, line 1253 or thereabouts.

 {{{
 $avatar = "<img alt='' src='{$default}' class='avatar avatar-{$size}
 avatar-default' height='{$size}' width='{$size}'>";
 }}}

 That's an unclosed image tag. It should be:

 {{{
 $avatar = "<img alt='' src='{$default}' class='avatar avatar-{$size}
 avatar-default' height='{$size}' width='{$size}' />";
 }}}

 Tagging this as high/major because it makes default out-of-the-box
 installs fail validation. Also, it's a 2 character fix.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6339>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list