From 7075d7c639c37cecdbd29685a44f1ab7a2dac6da Mon Sep 17 00:00:00 2001 From: faisal-alvi Date: Wed, 15 May 2024 16:47:27 +0530 Subject: [PATCH] remove setting full URL for other (non-media) default avatars --- includes/class-simple-local-avatars.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/class-simple-local-avatars.php b/includes/class-simple-local-avatars.php index bc2ce6b..829e382 100644 --- a/includes/class-simple-local-avatars.php +++ b/includes/class-simple-local-avatars.php @@ -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'] ) ) {