Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1291 closed defect (bug) (fixed)

bp_get_activity_avatar applies incorrect filter

Reported by: agentmaximus's profile agentmaximus Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 1.1.3 Priority: minor
Severity: Version:
Component: Keywords:
Cc:

Description

The function bp_get_activity_avatar in bp-activity/bp-activity-templatetags.php applies the filter bp_get_group_avatar instead of bp_get_activity_avatar

It is not clear whether this is the intended implementation.

It would also be useful to add a filter inside bp_get_activity avatar for overriding the avatar default dimensions. The default dimensions are used inside the sitewide activity widget through the call to bp_get_avatar(). It would be useful for theme developers to be able to override these defaults (currently 20px x 20px).

Change History (2)

#1 @johnjamesjacoby
15 years ago

  • Owner set to johnjamesjacoby
  • Status changed from new to assigned

I'm going to audit all the avatar functions and try to make them more flexible, to accommodate for using all of their $args.

#2 @johnjamesjacoby
15 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2071]) Fixes #1291 (props agentmaximus)

Note: See TracTickets for help on using tickets.