TechnoMom twitter
TechnoMom Rss

Where are my Gravatars?

Posted by Cyn | Posted in Blogging, Geekery | Posted on 28-04-2008

4

I obe­di­ent­ly updat­ed to Word­Press 2.5.1, and lost my Gra­vatars. I’ve checked the set­tings, and they’re still enabled. They’re def­i­nite­ly still in my tem­plates, but nobody gets any­thing but the default “no gra­vatar” pic­ture. Buh?

Comments (4)

That sucks. I haven’t done that update yet. If you fig­ure out how to get the gra­vatars back, please post it.

I post­ed to the WP forums. I’ll let you know when I get it resolved.

[…] — gra­vatars — I found the code to mod­i­fy my theme so these show up auto­mat­i­cal­ly, but I heard from Cyn­thia Armis­tead that when she upgrad­ed to 2.5.1, hers no longer worked: Where are my Gra­vatars?. […]

They work again! I had to change the code from

<?php
echo get_​avatar( get_​comment_​author_​email() );
?>

to

<?php
echo get_avatar($comment);
?>