#9228 closed enhancement (fixed)
Blogs: `blog_id` is accepted in the `bp_get_blog_avatar`, regardless if there is a blog in the current loop
| Reported by: | espellcaste | Owned by: | espellcaste |
|---|---|---|---|
| Priority: | normal | Milestone: | 15.0.0 |
| Component: | Blogs | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
bp_get_blog_avatar accepts a blog_id argument that only works if there is a blog in the current loop.
IMO, we should respect if the blog_id is passed, regardless if there is a blog in the current loop.
Currently, it's not possible to pass another, different blog_id into bp_get_blog_avatar inside a blog loop because of the current logic.
Change History (5)
This ticket was mentioned in PR #398 on buddypress/buddypress by renatonascalves.
23 months ago
#1
- Keywords has-patch has-unit-tests added
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9228