Opened 15 years ago
Closed 15 years ago
#3160 closed defect (bug) (fixed)
bp_get_blog_avatar filter is too specific
| Reported by: | djpaul | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5 |
| Component: | Blogs | Version: | |
| Severity: | 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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [4275]) Add new filter to bp_get_blog_avatar(). Fixes #3160