Support » Plugin: User Role Editor » Capabilities containing blanks

  • Hi,
    thanks for this great plugin. I am using it together with the plugin NextGEN Gallery. This plugin defines capabilities containing blanks in their names (like ‘NextGEN Edit album’, ‘NextGEN Manage gallery’ etc.).

    The user role editor lists capabilities with underscores replaced by blanks.
    It also list NextGEN Gallery capabilities as they are (‘NextGEN Edit album’ etc).
    I can assign these capabilities to a role. When updating the role in the user role editor I even receive the message update successfull and the updated capability is still marked. However, in fact the capability is not assigned to the role. When updating the screen the capability is no longer marked as activ for the role.

    I am not sure whether capabilities are not allowed blanks in their names. At least NextGEN gallery capabilities are accepted by wordpress. If I want to add a capability in user role editor, it only accepts new names without blanks. But it accepts existing names containing blanks. And it pretends to update those capabilities, which is vary irritating.

    Is it possible that user role editor will also accept blanks in the name of capabilities and will update those capabilities correctly?

    Thanks and best regards

  • You must be logged in to reply to this topic.