~vcs-imports/buddypress/trunk

Viewing all changes in revision 9489.

  • Committer: imath
  • Date: 2019-11-11 12:48:28 UTC
  • Revision ID: svn-v4:cdf35c40-ae34-48e0-9cc9-0c9da1808c22:trunk: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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: