From 1081c9d7d7b2176fe1ed39fe8cc9097f2ed94d06 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Thu, 19 Oct 2023 23:41:58 +0200 Subject: [PATCH] remove email fix #26 --- includes/class-webfinger.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/class-webfinger.php b/includes/class-webfinger.php index 81e0a49..fefa581 100644 --- a/includes/class-webfinger.php +++ b/includes/class-webfinger.php @@ -446,10 +446,6 @@ public static function get_user_resources( $id_or_name_or_object ) { $resources[] = self::get_user_resource( $user ); $resources[] = get_author_posts_url( $user->ID, $user->user_nicename ); - if ( $user->user_email ) { - $resources[] = 'mailto:' . $user->user_email; - } - /* * the IM schemes are based on the "vCard Extensions for Instant Messaging (IM)". * that means that the YahooID for example is represented by ymsgr:identifier