Skip to content

Gravatar not working in contributors #1602

Description

@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.

	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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions