Make WordPress Core

Changeset 25091


Ignore:
Timestamp:
08/22/2013 08:07:51 PM (13 years ago)
Author:
nacin
Message:

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.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/comment.php

    r23554 r25091  
    149149function floated_admin_avatar( $name ) {
    150150        global $comment;
    151         $avatar = get_avatar( $comment, 32 );
     151        $avatar = get_avatar( $comment, 32, 'mystery' );
    152152        return "$avatar $name";
    153153}
  • trunk/src/wp-admin/includes/dashboard.php

    r24320 r25091  
    711711                        <?php if ( !$comment->comment_type || 'comment' == $comment->comment_type ) : ?>
    712712
    713                         <?php echo get_avatar( $comment, 50 ); ?>
     713                        <?php echo get_avatar( $comment, 50, 'mystery' ); ?>
    714714
    715715                        <div class="dashboard-comment-wrap">
Note: See TracChangeset for help on using the changeset viewer.