Recently I updated my wordpress to 4.2.1 and now I have a problem with editing people's comments. After editing them, the avatar picture of who edited the comment is shown instead of the avatar of the real man who wrote the comment. What should I do?


Find all the functions "get_avatar" used in your theme folder. Identify the wrong calls echo get_avatar($comment,$size='48',$default='<path_to_url>' ); or

echo get_avatar($comment,48,'<path_to_url>' );

If you find these,then change it to echo get_avatar( $comment, 48 ); . Hope this gonna help you :)

  • The problem is not with my theme. because even in /wp-admin/edit-comments.php page I face this issue. I had no problem before updating my wordpress. – Amirreza Nasiri May 1 '15 at 10:02

Ok, I found the problem. It was WordPress Move Comments plug-in's issue and the problem solved by disabling this plugin. I'll say this problem to the developers today.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.