- removed UM prefix before UM custom roles;

This commit is contained in:
nikitozzzzzzz
2017-07-30 22:54:39 +03:00
parent 1cccd2caff
commit 8b9320b09f
6 changed files with 12 additions and 17 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ if ( ! class_exists( 'User' ) ) {
$role_meta = get_option( "um_role_{$role_key}_meta" );
if ( $role_meta ) {
$role_meta['name'] = 'UM ' . $role_meta['name'];
//$role_meta['name'] = 'UM ' . $role_meta['name'];
$roles['um_' . $role_key] = $role_meta;
}
}