what do you mean by: “in admin manager”?
and your site is single or multisite?
Not multi side. I used created user/add new user in admin as normal. Nothing special
you can have a conflict with another plugin or code because I do not have this problem
The restriction is disabled for users who have the capability to add new users (create_users)
Ok thank you for respond. I will working to more to see what is going on.
yes you are right, there is a problem but not in the plugin, it is in the wordpress in admin (backend), for example you have an existing “pmp” name, if you add a character for example like ca “/ pmp” you will have two error messages:
ERROR: This username is invalid because it uses illegal characters. Please enter a valid username.
ERROR: This username is already registered. Please choose another one.
even if you disable the plugin the mesages appear.
in the meantime you have two temporary solutions:
1- add the user from the frontend (wp-login.php?action=register).
2- edit the file (wp-admin \ includes \ user.php) and replace this line:
$user->user_login = sanitize_user($_POST['user_login'], true);
by:
$user->user_login = $_POST['user_login'];
note:this is not a serious problem.
-
This reply was modified 8 years, 8 months ago by
Benaceur.
Thank you i will working on it.