Change WordPress Username maxmimum length
In WordPress 6.7, usernames are limited to 60 characters, and this value is hard-coded with no filter (source), so no proper way to change it. Allowing more than 60 characters would mean changing core, which is bad practice.