From 144356bf8aef5c04eeda17ffca2f7c67a5b7f8dc Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Thu, 4 May 2023 08:50:44 +0200 Subject: [PATCH] remove unused second param --- includes/class-mention.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-mention.php b/includes/class-mention.php index 96bb450..49f7860 100644 --- a/includes/class-mention.php +++ b/includes/class-mention.php @@ -69,7 +69,7 @@ class Mention { * @return string the final string */ public static function replace_with_links( $result ) { - $metadata = get_remote_metadata_by_actor( $result[0], true ); + $metadata = get_remote_metadata_by_actor( $result[0] ); if ( ! is_wp_error( $metadata ) && ! empty( $metadata['url'] ) ) { $username = ltrim( $result[0], '@' ); if ( ! empty( $metadata['name'] ) ) {