[wp-trac] Re: [WordPress Trac] #6903: avatar-default Class Not Assigned to Default Avatars By get_avatar() function

WordPress Trac wp-trac at lists.automattic.com
Sat May 3 14:58:13 GMT 2008


#6903: avatar-default Class Not Assigned to Default Avatars By get_avatar()
function
-------------------------------------------+--------------------------------
 Reporter:  jcrens8392                     |        Owner:  anonymous
     Type:  defect                         |       Status:  closed   
 Priority:  normal                         |    Milestone:           
Component:  General                        |      Version:  2.5.1    
 Severity:  normal                         |   Resolution:  invalid  
 Keywords:  get_avatar, gravatar, avatars  |  
-------------------------------------------+--------------------------------
Changes (by Viper007Bond):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  2.7 =>

Comment:

 The `$default` variable is merely passed to Gravatar. We don't know if the
 e-mail address supplied will have an avatar or not -- that's figured out
 by Gravatar.

 All your patch would do is give the image the class of `avatar-default` if
 there is no custom default image set which is rather worthless.

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


More information about the wp-trac mailing list