Ticket #7635: avatar-size.diff
| File avatar-size.diff, 940 bytes (added by Otto42, 5 years ago) |
|---|
-
comment-template.php
1034 1034 <div id="div-comment-<?php comment_ID() ?>"> 1035 1035 <?php endif; ?> 1036 1036 <div class="comment-author vcard"> 1037 <?php echo get_avatar( $comment, 32 )?>1037 <?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?> 1038 1038 <?php printf(__('<cite>%s</cite> Says:'), get_comment_author_link()) ?> 1039 1039 </div> 1040 1040 <?php if ($comment->comment_approved == '0') : ?> … … 1095 1095 $comment_depth = 1; 1096 1096 1097 1097 $defaults = array('walker' => null, 'depth' => '', 'style' => 'ul', 'callback' => null, 'end-callback' => null, 'type' => 'all', 1098 'page' => get_query_var('cpage'), 'per_page' => '' );1098 'page' => get_query_var('cpage'), 'per_page' => '', 'avatar_size' => 32); 1099 1099 1100 1100 $r = wp_parse_args( $args, $defaults ); 1101 1101
