[buddypress-trac] [BuddyPress Trac] #9228: Blogs: `blog_id` is accepted in the `bp_get_blog_avatar`, regardless if there is a blog in the current loop

buddypress-trac noreply at wordpress.org
Wed Sep 4 02:04:39 UTC 2024


#9228: Blogs: `blog_id` is accepted in the `bp_get_blog_avatar`, regardless if
there is a blog in the current loop
-------------------------+-----------------------------
 Reporter:  espellcaste  |      Owner:  espellcaste
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Blogs        |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 `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.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9228>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list