Hi there
I've noticed that the Gravatar isn't working when editing a contributor. It always falls back to the default image.
Found that there are several places where Gravatar is used. The only change it might need is changing the & with ? (see below)
But also changing the Hashing function from MD5 to SHA265, as Gravatar prefers SHA265 hashes these days.
function get_gravatar(email) {
if ( email.indexOf("@") == -1 ) {
return email;
} else {
return 'https://www.gravatar.com/avatar/' + CryptoJS.SHA256( email ) + '?s=400';
}
}
I saw that gravatar is also used also in contributor.php but didn't investigate deeper into that.
/dasrecht
Hi there
I've noticed that the Gravatar isn't working when editing a contributor. It always falls back to the default image.
Found that there are several places where Gravatar is used. The only change it might need is changing the
&with?(see below)But also changing the Hashing function from MD5 to SHA265, as Gravatar prefers SHA265 hashes these days.
I saw that gravatar is also used also in
contributor.phpbut didn't investigate deeper into that./dasrecht