Skip to content

Commit

Permalink
consistently use WordPress default avatar size
Browse files Browse the repository at this point in the history
  • Loading branch information
douglas-johnson committed Jul 28, 2023
1 parent eb7012e commit f5c9ebe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions co-authors-plus.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ class CoAuthors_Plus {
var $coauthors_meta_box_name = 'coauthorsdiv';
var $force_guest_authors = false;

var $gravatar_size = 25;

var $_pages_whitelist = array( 'post.php', 'post-new.php', 'edit.php' );

var $supported_post_types = array();
Expand Down Expand Up @@ -449,7 +447,7 @@ public function coauthors_meta_box( $post ) {
$avatar_url = get_avatar_url( $coauthor->ID );
?>
<li>
<?php echo get_avatar( $coauthor->ID, $this->gravatar_size ); ?>
<?php echo get_avatar( $coauthor->ID ); ?>
<span id="<?php echo esc_attr( 'coauthor-readonly-' . $count ); ?>" class="coauthor-tag">
<input type="text" name="coauthorsinput[]" readonly="readonly" value="<?php echo esc_attr( $coauthor->display_name ); ?>" />
<input type="text" name="coauthors[]" value="<?php echo esc_attr( $coauthor->user_login ); ?>" />
Expand Down

0 comments on commit f5c9ebe

Please sign in to comment.