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. Built from https://develop.svn.wordpress.org/trunk@25091 git-svn-id: http://core.svn.wordpress.org/trunk@25075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
945b12bfcf
commit
9b0e21493d
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue