Skip to:

Opened 9 years ago

Closed 9 years ago

#6392 closed defect (bug) (fixed)

Cannot set class in logged in and displayed user avatars

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.3 Priority: normal
Severity: normal Version: 1.0
Component: Members Keywords: commit


The logged in and displayed user avatar functions pass hardcoded arrays through to bp_core_fetch_avatar() which does not allow the passing through of other available arguments, like class for example.

Change History (2)

#1 @johnjamesjacoby
9 years ago

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

Fixes for this are easy, and will not result in unwanted backwards compatibility issues unless someone was using using these functions and already not getting the results they explicitly asked for.

Improvements imminent.

#2 @johnjamesjacoby
9 years ago

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

In 9804:

Members: Improve logged-in and displayed user avatar functions:

  • Remove extract() usages
  • Pass $r and $args into filters
  • Pass $r into bp_core_fetch_avatar() enabling interaction with other parameter arguments

Fixes #6392.

Note: See TracTickets for help on using tickets.