diff --git a/includes/class-mention.php b/includes/class-mention.php index 886df58..ddae996 100644 --- a/includes/class-mention.php +++ b/includes/class-mention.php @@ -35,10 +35,9 @@ class Mention { * @return string the final string */ public static function replace_with_links( $result ) { - error_log($result[0]); $metadata = \ActivityPub\get_remote_metadata_by_actor( $result[0] ); if ( ! is_wp_error( $metadata ) ) { - $username = ltrim( $result[0], '@'); + $username = ltrim( $result[0], '@' ); if ( ! empty( $metadata['name'] ) ) { $username = $metadata['name']; }