I get the following popup error when I try to add a role with a space in the role names.
“Role Name must contain latin characters and digits only”
WordPress allows spaces in names – so URE should also allow spaces in names.
To allow spaces, I added a space in the regular expression used in line 104 of includes/ure-role-edit.php:
if (!(/^[\w- ]*$/.test(value)))
Similar checks are also performed in includes/ure-lib.php
- The topic ‘[Plugin: User Role Editor] Space not allowed in role name’ is closed to new replies.