From c17b44ca5ef3edfc2dd190f44b6a37e5d8e0ae6d Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Wed, 25 Sep 2024 23:24:55 +0300 Subject: [PATCH] * fixed #1531; --- includes/admin/templates/role/admin-permissions.php | 4 ++-- includes/admin/templates/role/profile.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/admin/templates/role/admin-permissions.php b/includes/admin/templates/role/admin-permissions.php index 524ca8b5..0ca00b4d 100644 --- a/includes/admin/templates/role/admin-permissions.php +++ b/includes/admin/templates/role/admin-permissions.php @@ -33,7 +33,7 @@ 'id' => '_um_can_edit_roles', 'type' => 'select', 'label' => __( 'Can edit these user roles only', 'ultimate-member' ), - 'tooltip' => __( 'Which roles that role can edit, choose none to allow role to edit all member roles', 'ultimate-member' ), + 'tooltip' => __( 'Multiple selections of which roles this role can edit, none selected to allow this role to edit all member roles.', 'ultimate-member' ), 'options' => UM()->roles()->get_roles(), 'multi' => true, 'value' => ! empty( $role['_um_can_edit_roles'] ) ? $role['_um_can_edit_roles'] : array(), @@ -50,7 +50,7 @@ 'id' => '_um_can_delete_roles', 'type' => 'select', 'label' => __( 'Can delete these user roles only', 'ultimate-member' ), - 'tooltip' => __( 'Which roles that role can edit, choose none to allow role to edit all member roles', 'ultimate-member' ), + 'tooltip' => __( 'Multiple selections of which roles this role can delete, none selected to allow this role to delete all member roles', 'ultimate-member' ), 'options' => UM()->roles()->get_roles(), 'multi' => true, 'value' => ! empty( $role['_um_can_delete_roles'] ) ? $role['_um_can_delete_roles'] : array(), diff --git a/includes/admin/templates/role/profile.php b/includes/admin/templates/role/profile.php index b5c95bdb..79769c35 100644 --- a/includes/admin/templates/role/profile.php +++ b/includes/admin/templates/role/profile.php @@ -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(); ?> - \ No newline at end of file +