From 0c24a916d41c4a740deafc01dcfaaf48530c84e2 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 22 Aug 2013 20:07:51 +0000 Subject: [PATCH] In the admin, do not use auto-generated Gravatar images for comment authors. This makes it easier to recognize Gravatars (or lack thereof) when moderating comments. props solarissmoke. fixes #7054. git-svn-id: https://develop.svn.wordpress.org/trunk@25091 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/comment.php | 2 +- src/wp-admin/includes/dashboard.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/comment.php b/src/wp-admin/includes/comment.php index 1620755b68..2ec9d6dc84 100644 --- a/src/wp-admin/includes/comment.php +++ b/src/wp-admin/includes/comment.php @@ -148,7 +148,7 @@ function get_pending_comments_num( $post_id ) { */ function floated_admin_avatar( $name ) { global $comment; - $avatar = get_avatar( $comment, 32 ); + $avatar = get_avatar( $comment, 32, 'mystery' ); return "$avatar $name"; } diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 657402f942..c2ebaf9644 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -710,7 +710,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
comment_ID) ) ); ?>> comment_type || 'comment' == $comment->comment_type ) : ?> - +