Forums
-
- Forum
- Posts
-
- Installation
- 28,436
- Troubleshooting
- 62,525
- Themes
- 10,431
- Plugins
- 15,342
- Requests & Feedback
- 14,964
- Showcase
- 3,256
-
You can potentially use “special” characters in usernames via a plugin, but with the ability to have separate “display” names it is not enabled in the core.
Putting this in a plugin might work on it’s own actually…
function my_sanitize_user( $username, $username_raw, $strict ) {
if ( $strict ) {
return sanitize_user( $username_raw, false );
} else {
return $username;
}
}
add_filter('sanitize_user', 'my_sanitize_user', 10, 3);