mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 06:33:50 +09:00
* fixed #1531;
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
'id' => '_um_can_view_roles',
|
||||
'type' => 'select',
|
||||
'label' => __( 'Can view these user roles only', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Which roles that role can view, choose none to allow role to view all member roles', 'ultimate-member' ),
|
||||
'tooltip' => __( 'Multiple selections of which roles this role can view, none selected to allow this role to view all member roles.', 'ultimate-member' ),
|
||||
'options' => UM()->roles()->get_roles(),
|
||||
'multi' => true,
|
||||
'value' => ! empty( $role['_um_can_view_roles'] ) ? $role['_um_can_view_roles'] : array(),
|
||||
@@ -58,4 +58,4 @@
|
||||
)
|
||||
) )->render_form(); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user