[buddypress-trac] [BuddyPress] #3922: Add filter to bp-core-avatars -> bp_core_fetch_avatar for $class
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Jan 12 20:10:56 UTC 2012
#3922: Add filter to bp-core-avatars -> bp_core_fetch_avatar for $class
-------------------------+-----------------------------
Reporter: blindmoe | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.5.3
Severity: normal | Keywords: needs-patch
-------------------------+-----------------------------
Inside bp_core_fetch_avatar there are filters ran for just about every
argument, except $class. I suggest you add this line:
$class = apply_filters( 'bp_core_avatar_class', $class, $item_id, $object
);
at line 146 so devs can adjust avatar classes if they need to.
Thanks
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3922>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list