From c0d499de97a3d79b0c088855e61bd47baff73729 Mon Sep 17 00:00:00 2001 From: xxsimoxx Date: Mon, 2 Dec 2024 09:12:48 +0100 Subject: [PATCH] Add another trim --- cp-contributors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cp-contributors.php b/cp-contributors.php index 4c4c4e3..28eab08 100644 --- a/cp-contributors.php +++ b/cp-contributors.php @@ -88,7 +88,7 @@ public function get_cp_contributors() { } public function maybe_resolve_github_username($name) { - $name = trim($name, ' .'); + $name = trim(trim($name, ' .')); $cp_contributors = $this->get_cp_contributors(); if (isset($cp_contributors[$name])) { return $cp_contributors[$name];