Merge pull request #6914 from SiR-DanieL/patch-2

Retrieve reviewers avatar using the email
This commit is contained in:
Mike Jolley 2014-12-08 15:54:08 +00:00
commit e5693f317f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ $rating = intval( get_comment_meta( $comment->comment_ID, 'rating', true ) );
<div id="comment-<?php comment_ID(); ?>" class="comment_container">
<?php echo get_avatar( $comment, apply_filters( 'woocommerce_review_gravatar_size', '60' ), '', get_comment_author() ); ?>
<?php echo get_avatar( $comment, apply_filters( 'woocommerce_review_gravatar_size', '60' ), '', get_comment_author_email( $comment->comment_ID ) ); ?>
<div class="comment-text">