{"action":"opened","issue":{"url":"https://api.github.com/repos/justintadlock/members/issues/73","labels_url":"https://api.github.com/repos/justintadlock/members/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/justintadlock/members/issues/73/comments","events_url":"https://api.github.com/repos/justintadlock/members/issues/73/events","html_url":"https://github.com/justintadlock/members/issues/73","id":116349992,"number":73,"title":"Allow dashes in role names","user":{"login":"clifgriffin","id":682201,"avatar_url":"https://avatars.githubusercontent.com/u/682201?v=3","gravatar_id":"","url":"https://api.github.com/users/clifgriffin","html_url":"https://github.com/clifgriffin","followers_url":"https://api.github.com/users/clifgriffin/followers","following_url":"https://api.github.com/users/clifgriffin/following{/other_user}","gists_url":"https://api.github.com/users/clifgriffin/gists{/gist_id}","starred_url":"https://api.github.com/users/clifgriffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clifgriffin/subscriptions","organizations_url":"https://api.github.com/users/clifgriffin/orgs","repos_url":"https://api.github.com/users/clifgriffin/repos","events_url":"https://api.github.com/users/clifgriffin/events{/privacy}","received_events_url":"https://api.github.com/users/clifgriffin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-11T14:54:20Z","updated_at":"2015-11-11T14:54:20Z","closed_at":null,"body":"`members_sanitize_role` converts all dashes to underscores, which causes problems with existing roles that have dashes in their slugs, and plugins which add roles with dashes in the slug. \r\n\r\nThis doesn't seem to be an actual WordPress requirement, though I can understand it stylistically. I'd recommend not sanitizing existing roles.  Sanitization can be used for new roles.\r\n\r\nDoes that sound like a fair solution? "}}