Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#3160 closed defect (bug) (fixed)

bp_get_blog_avatar filter is too specific

Reported by: djpaul's profile djpaul Owned by:
Milestone: 1.5 Priority: normal
Severity: Version:
Component: Blogs Keywords: needs-patch
Cc:

Description

The filter in bp_get_blog_avatar() takes the form of 'bp_get_blog_avatar_{BLOGID}'. It should take the blog ID as an argument, rather than part of the filter name.

As-is, it works fine when targeting a specific blog, but it's not practical to use this filter to affect a large number of blogs. Consideration would have to be given to backwards compatibility.

Change History (3)

#1 @DJPaul
13 years ago

  • Milestone changed from Awaiting Review to Future Release

#2 @DJPaul
13 years ago

  • Milestone changed from Future Release to 1.3

#3 @djpaul
13 years ago

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

(In [4275]) Add new filter to bp_get_blog_avatar(). Fixes #3160

Note: See TracTickets for help on using tickets.