Credits
Based on a code snippet from Matt Mullenweg:
http://photomatt.net/2007/10/20/gravatar-enabled/
http://pastebin.ca/743979
Props to David Potter for pointing out that Gravatar normalizes email
addresses to lowercase before hashing with MD5:
http://dpotter.net/Technical/index.php/2007/10/22/integrating-gravatar-support/
Changelog
1.1 2007-11-16
- Gravatar images now link to comment author's URL, if provided.
- Gravatar code now prepended to text instead of appended.
- Code reorganized. Functions for filters and hooks are now near the actions
that actually call them.
- Added stylesheet for options page and improved layout. Split options into
'General' and 'Advanced'.
- New advanced option for selecting either 'Comment Author Link' or 'Comment
Text' API hook.
1.0