Support » Plugins » [Plugin: Capability Manager] Role name can’t contain non-a-z characters?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Txanny

    (@txanny)

    Sometimes, characters out of the basic alphabet have a bad behavior when used as an array index. As Roles and Capabilities are saved by WordPress as arrays. Also, I’ve seen some unexpected results when using them in Roles or Capabilities names.

    In the other hand, there are some plugins that use roles and capabilities that expect only the basic alphabet and don’t work (or crash) if an other characters are found.

    Because of that, I preferred to strip out the option to use them, and ensure your created roles and capabilities will work always as expected in WordPress and third party plugins.

    I know this is a limitation, but thing is better have this limitation than having things not working as them must.

    kahi

    (@kahi)

    I see :(. Thank you for the clarification.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Capability Manager] Role name can’t contain non-a-z characters?’ is closed to new replies.