Hi there,
I may have stumbled upon a bug in the wordpress system. I have a script were i need to check the username before adding it with wp_insert_user.
In wp_users i have a user with a user_login value of: Cafe t test
When i try to insert the following username in wp_insert_user the wp_error tells me that the username exists already: Café 't test
That seems to be correct, so i need to check the value before adding with username_exists(). But that function returns null.. ?
When i remove the accents and the quotes both functions tell me the username exists. But in my opinion, the username_exists functionn should do that by default.