Forums
-
- Forum
- Posts
-
- Installation
- 27,615
- Troubleshooting
- 60,552
- Themes
- 10,189
- Plugins
- 14,971
- Requests & Feedback
- 14,607
- Showcase
- 3,238
-
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);
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS