[buddypress-trac] [BuddyPress Trac] #8179: Improved default value for site avatar
buddypress-trac
noreply at wordpress.org
Fri Oct 30 22:13:44 UTC 2020
#8179: Improved default value for site avatar
-----------------------------------+---------------------
Reporter: boonebgorges | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0.0
Component: Blogs | Version:
Severity: normal | Resolution: fixed
Keywords: 2nd-opinion has-patch |
-----------------------------------+---------------------
Changes (by imath):
* owner: (none) => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"12772" 12772]:
{{{
#!CommitTicketReference repository="" revision="12772"
Blogs: use a default "blavatar" when the blog has no site icon
So far when the Blogs component was not supporting the WordPress site icon
feature or when the blog had no site icon set, we used to fallback on the
Blog Administrator's avatar.
We realized this was a wrong approach, because:
- the site creator may no longer be a member of the specific site, in
which case the lowest id will belong to a different (non-admin) user.
- The site admin may have changed in some other way.
- The site creator's account may have been deleted.
- Etc.
When any of these happen, you get the avatar of a random site user.
That's why just like we do for users or groups, we are now using a default
blog avatar (`mysterious-blog.png`) as a fallback when the site icon for
the blog is not available.
Props boonebgorges, vapvarun, johnjamesjacoby
Fixes #8179
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8179#comment:16>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list