[buddypress-trac] [BuddyPress Trac] #8150: Getting the blog avatar should be possible outside a blogs loop

buddypress-trac noreply at wordpress.org
Mon Nov 11 12:48:31 UTC 2019


#8150: Getting the blog avatar should be possible outside a blogs loop
------------------------------+---------------------
 Reporter:  imath             |       Owner:  imath
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.0.0
Component:  Blogs             |     Version:  2.4.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12496" 12496]:
 {{{
 #!CommitTicketReference repository="" revision="12496"
 Make it possible to fetch a blog's avatar outside of the blogs loop

 Passing 2 new parameters (`$blog_id` & `$admin_user_id`) to the
 `bp_get_blog_avatar()` function will return the corresponding blog's
 avatar without the need to run a blogs loop.

 Props espellcaste

 Fixes #8150
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8150#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list