Skip to content

Commit

Permalink
remove setting full URL for other (non-media) default avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal-alvi committed May 15, 2024
1 parent f0fc2b8 commit 7075d7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions includes/class-simple-local-avatars.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,6 @@ public function get_avatar_data( $args, $id_or_email ) {
$args['url'] = $default_url;
} elseif ( 'simple_local_avatar' === $avatar_default ) {
$args['default'] = $default_url;
} else {
$args['url'] = $default_url;
}
}

if ( ! empty( $args['url'] ) ) {
Expand Down

0 comments on commit 7075d7c

Please sign in to comment.