Re: Capitalize names in xprofile on input/signup
Why is it ridiculous to do styling with CSS? Isn’t that what it’s made for? I know that you want to create consistentcy in your database, but if it’s just because it looks nicer, then just use CSS.
But if you want to hack the core, I think you can use the sanitize_user function. You can find this function in “wp-includes/formatting.php”.
I can’t help you with applying your own function, since I’m not that good of a coder.