| @@ -46,13 +46,8 @@ | ||
| 46 | 46 | if ( ! \in_array( $id_or_email->comment_type ?: 'comment', $allowed_comment_types, true ) ) { |
| 47 | 47 | return $args; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - // Respect WordPress "show avatars" setting. | |
| 51 | - if ( ! \get_option( 'show_avatars' ) ) { | |
| 52 | - return $args; | |
| 53 | - } | |
| 54 | - | |
| 55 | 50 | $avatar = null; |
| 56 | 51 | |
| 57 | 52 | // First, try to get avatar from remote actor. |
| 58 | 53 | $remote_actor_id = \get_comment_meta( $id_or_email->comment_ID, '_activitypub_remote_actor_id', true ); |