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
This commit is contained in:
Andrew Nacin 2013-08-22 20:07:51 +00:00
parent 463fde4ec0
commit 0c24a916d4
2 changed files with 2 additions and 2 deletions

View File

@ -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";
}

View File

@ -710,7 +710,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
<div id="comment-<?php echo $comment->comment_ID; ?>" <?php comment_class( array( 'comment-item', wp_get_comment_status($comment->comment_ID) ) ); ?>>
<?php if ( !$comment->comment_type || 'comment' == $comment->comment_type ) : ?>
<?php echo get_avatar( $comment, 50 ); ?>
<?php echo get_avatar( $comment, 50, 'mystery' ); ?>
<div class="dashboard-comment-wrap">
<h4 class="comment-meta">