[wp-trac] [WordPress Trac] #11902: Add custom gravatar support to WP core

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 31 20:08:41 UTC 2010


#11902: Add custom gravatar support to WP core
-----------------------------+----------------------------------------------
 Reporter:  archon810        |       Owner:            
     Type:  feature request  |      Status:  new       
 Priority:  normal           |   Milestone:  Unassigned
Component:  Comments         |     Version:  2.9.1     
 Severity:  normal           |    Keywords:  close     
-----------------------------+----------------------------------------------
Changes (by nacin):

  * component:  General => Comments


Comment:

 Replying to [comment:4 strider72]:
 > Is there an easy way for a theme to set a default Gravatar?  That, at
 least, would make a lot of sense.  I think this is a theme issue more than
 a WP Core issue.
 Yes. You can't override a pluggable function in a theme (pluggable.php is
 deliberately included after all plugins but before theme functions.php).

 But, you can easily use the $default argument when calling get_avatar().
 Alternatively, you can use the avatar_defaults filter, for the more PHP
 inclined. (There are other filters in get_avatar() I believe as well.)

 Itching to close as worksforme. This is definitely plugin or theme
 material and three distinct tools exist (override the function, calling it
 with an arg, or use the filter).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11902#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list