Opened 15 years ago
Closed 9 years ago
#10863 closed enhancement (wontfix)
Gravatars without email all end up looking generic
Reported by: | thecodepro | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | |
Component: | Comments | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
When your blog has this option turned on
"Comment author must fill out name and e-mail"
and multiple users leave comments, if these users do not provide email addresses it will appear that they are all the same user as the identicon/monsterid/etc icons will be the same.
With two additional lines of code, you can substitute the IP address in place of the email to get a unique hash in order to distinguish one anonymous/non-emailed user from another.
Patch is attached
Attachments (2)
Change History (9)
#2
@
15 years ago
Isn't it possible to reverse-engeneer the comment's authors IP-address then? Some hashing needed?
#3
@
15 years ago
Yes, I suppose you could use a rainbow table to reverse the IP address for anonymous posters.
Could probably salt this with on of those constants defined in wp-config.php if you wanted to make it UBER secure.
I'll look into that real quick...
adds code to use IP address if email is empty for gravatar handoff