[buddypress-trac] [BuddyPress] #4503: bp_core_fetch_avatar hooking into get_avatar

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Sep 2 13:34:47 UTC 2012


#4503: bp_core_fetch_avatar hooking into get_avatar
-------------------------+-----------------------------
 Reporter:  melindrea    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 In its' core, get_avatar returns the gravatar with the classes ''avatar'',
 ''avatar-$size'' and ''photo''. Buddypress hooks in to the get_avatar
 filter (line 686, bp-core-avatars.php) to see if there is a locally
 uploaded avatar. The gravatar returned, whether local or not, has the
 classes ''avatar'' and ''user-$id-avatar''.

 I feel that it would be a good idea if the filter returned the same
 classes as the get_avatar, since it's very unexpected behaviour for them
 to not be there.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4503>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list