Skip to content

Commit

Permalink
Add another trim
Browse files Browse the repository at this point in the history
  • Loading branch information
xxsimoxx committed Dec 2, 2024
1 parent 7a3f558 commit c0d499d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cp-contributors.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit c0d499d

Please sign in to comment.