Version Description
- 14.12.2014
- Own custom user capabilities, e.g. 'ure_edit_roles' are used to restrict access to User Role Editor functionality (read more).
- Multisite: You may allow to the users without superadmin privileges to add/create site users without sending them email confirmation request.
- Bug fix: when non-admin user updated other user profile, that user lost secondary roles.
- Italian translation was added. Thanks to Giuseppe Velardo.
Download this release
Release Info
Developer | shinephp |
Plugin | User Role Editor |
Version | 4.18 |
Comparing to | |
See all releases |
Code changes from version 4.17.3 to 4.18
- includes/class-ure-lib.php +235 -28
- includes/class-user-role-editor.php +64 -18
- includes/define-constants.php +1 -1
- js/ure-js.js +1 -1
- lang/ure-it_IT.mo +0 -0
- lang/ure-it_IT.po +876 -0
- readme.txt +11 -2
- user-role-editor.php +2 -2
includes/class-ure-lib.php
CHANGED
@@ -33,7 +33,7 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
33 |
protected $role_select_html = '';
|
34 |
protected $role_delete_html = '';
|
35 |
protected $capability_remove_html = '';
|
36 |
-
protected $advert = null;
|
37 |
|
38 |
|
39 |
/** class constructor
|
@@ -56,9 +56,82 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
56 |
public function is_pro() {
|
57 |
return false;
|
58 |
}
|
59 |
-
// end of is_pro()
|
60 |
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
/**
|
63 |
* get options for User Role Editor plugin
|
64 |
* User Role Editor stores its options at the main blog/site only and applies them to the all network
|
@@ -133,6 +206,7 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
133 |
* @return string
|
134 |
*/
|
135 |
public function get_key_capability() {
|
|
|
136 |
if (!$this->multisite) {
|
137 |
$key_capability = URE_KEY_CAPABILITY;
|
138 |
} else {
|
@@ -144,7 +218,7 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
144 |
$key_capability = 'manage_network_users';
|
145 |
}
|
146 |
}
|
147 |
-
|
148 |
return $key_capability;
|
149 |
}
|
150 |
// end of get_key_capability()
|
@@ -295,7 +369,7 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
295 |
}
|
296 |
?>
|
297 |
<div id="ure_pro_advertisement" style="clear:left;display:block; float: left;">
|
298 |
-
<a href="
|
299 |
<?php
|
300 |
if ($this->hide_pro_banner) {
|
301 |
echo 'User Role Editor Pro: extended functionality, no advertisement - from $29.</a>';
|
@@ -600,7 +674,7 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
600 |
|
601 |
|
602 |
/**
|
603 |
-
* Checks if user is allowed to
|
604 |
*
|
605 |
* @global int $current_user
|
606 |
* @param int $user_id
|
@@ -619,6 +693,7 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
619 |
}
|
620 |
// end of user_is_admin()
|
621 |
|
|
|
622 |
|
623 |
/**
|
624 |
* return array with WordPress user roles
|
@@ -633,7 +708,7 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
633 |
|
634 |
if (!isset($wp_roles)) {
|
635 |
$wp_roles = new WP_Roles();
|
636 |
-
}
|
637 |
|
638 |
if (function_exists('bbp_filter_blog_editable_roles')) { // bbPress plugin is active
|
639 |
$this->roles = bbp_filter_blog_editable_roles($wp_roles->roles); // exclude bbPress roles
|
@@ -659,8 +734,8 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
659 |
}
|
660 |
} else {
|
661 |
$this->roles = $wp_roles->roles;
|
662 |
-
}
|
663 |
-
|
664 |
if (is_array($this->roles) && count($this->roles) > 0) {
|
665 |
asort($this->roles);
|
666 |
}
|
@@ -954,6 +1029,8 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
954 |
}
|
955 |
|
956 |
$caps_to_exclude = $this->get_built_in_wp_caps();
|
|
|
|
|
957 |
|
958 |
$caps_to_remove = array();
|
959 |
foreach ($full_caps_list as $capability => $value) {
|
@@ -1206,18 +1283,26 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1206 |
if (!$this->multisite || $super_admin || $add_del_role_for_simple_admin) { // restrict single site admin
|
1207 |
?>
|
1208 |
<hr />
|
|
|
|
|
|
|
1209 |
<button id="ure_add_role" class="ure_toolbar_button">Add Role</button>
|
|
|
|
|
|
|
1210 |
<button id="ure_rename_role" class="ure_toolbar_button">Rename Role</button>
|
1211 |
<?php
|
1212 |
} // restrict single site admin
|
1213 |
if (!$this->multisite || $super_admin || !$caps_access_restrict_for_simple_admin) { // restrict single site admin
|
|
|
1214 |
?>
|
1215 |
<button id="ure_add_capability" class="ure_toolbar_button">Add Capability</button>
|
1216 |
<?php
|
|
|
1217 |
} // restrict single site admin
|
1218 |
|
1219 |
if (!$this->multisite || $super_admin || $add_del_role_for_simple_admin) { // restrict single site admin
|
1220 |
-
if (!empty($role_delete)) {
|
1221 |
?>
|
1222 |
<button id="ure_delete_role" class="ure_toolbar_button">Delete Role</button>
|
1223 |
<?php
|
@@ -1225,7 +1310,7 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1225 |
} // restrict single site admin
|
1226 |
|
1227 |
if (!$this->multisite || $super_admin || !$caps_access_restrict_for_simple_admin) { // restrict single site admin
|
1228 |
-
if ($capability_remove) {
|
1229 |
?>
|
1230 |
<button id="ure_delete_capability" class="ure_toolbar_button">Delete Capability</button>
|
1231 |
<?php
|
@@ -1240,9 +1325,11 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1240 |
if (!$this->multisite ||
|
1241 |
(is_main_site( get_current_blog_id()) || (is_network_admin() && is_super_admin()))
|
1242 |
) {
|
|
|
1243 |
?>
|
1244 |
-
<button id="
|
1245 |
<?php
|
|
|
1246 |
}
|
1247 |
?>
|
1248 |
</div>
|
@@ -1328,6 +1415,9 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1328 |
case 'update_core':
|
1329 |
$url = 'http://www.shinephp.com/update_core-capability-for-wordpress-user/';
|
1330 |
break;
|
|
|
|
|
|
|
1331 |
default:
|
1332 |
$url = '';
|
1333 |
}
|
@@ -1393,7 +1483,7 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1393 |
|
1394 |
|
1395 |
protected function add_capability_to_full_caps_list($cap_id) {
|
1396 |
-
if (!isset($this->full_capabilities[$cap_id])) {
|
1397 |
$cap = array();
|
1398 |
$cap['inner'] = $cap_id;
|
1399 |
$cap['human'] = esc_html__($this->convert_caps_to_readable($cap_id), 'ure');
|
@@ -1408,46 +1498,142 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1408 |
}
|
1409 |
// end of add_capability_to_full_caps_list()
|
1410 |
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
|
|
|
|
1415 |
foreach ($this->roles as $role) {
|
1416 |
// validate if capabilities is an array
|
1417 |
if (isset($role['capabilities']) && is_array($role['capabilities'])) {
|
1418 |
-
foreach ($role['capabilities'] as $
|
1419 |
-
$this->add_capability_to_full_caps_list($
|
1420 |
}
|
1421 |
}
|
1422 |
}
|
1423 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1424 |
if (class_exists('GFCommon')) {
|
1425 |
$gf_caps = GFCommon::all_caps();
|
1426 |
foreach ($gf_caps as $gf_cap) {
|
1427 |
$this->add_capability_to_full_caps_list($gf_cap);
|
1428 |
}
|
1429 |
-
}
|
1430 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1431 |
$custom_caps = array();
|
1432 |
$custom_caps = apply_filters( 'members_get_capabilities', $custom_caps );
|
1433 |
foreach ($custom_caps as $cap) {
|
1434 |
$this->add_capability_to_full_caps_list($cap);
|
1435 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1436 |
|
1437 |
if ($this->ure_object=='user') {
|
1438 |
-
foreach($this->user_to_edit->caps as $
|
1439 |
-
if (!isset($this->roles[$
|
1440 |
-
$this->add_capability_to_full_caps_list($
|
1441 |
}
|
1442 |
}
|
1443 |
}
|
1444 |
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1448 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1449 |
}
|
1450 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1451 |
unset($this->built_in_wp_caps);
|
1452 |
asort($this->full_capabilities);
|
1453 |
}
|
@@ -1479,8 +1665,13 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1479 |
* reset user roles to WordPress default roles
|
1480 |
*/
|
1481 |
protected function reset_user_roles() {
|
|
|
|
|
|
|
|
|
1482 |
|
1483 |
$this->wp_roles_reinit();
|
|
|
1484 |
if ($this->is_full_network_synch() || $this->apply_to_all) {
|
1485 |
$this->current_role = '';
|
1486 |
$this->direct_network_roles_update();
|
@@ -1728,6 +1919,9 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1728 |
|
1729 |
global $wp_roles;
|
1730 |
|
|
|
|
|
|
|
1731 |
$mess = '';
|
1732 |
$this->current_role = '';
|
1733 |
if (isset($_POST['user_role_id']) && $_POST['user_role_id']) {
|
@@ -1841,6 +2035,9 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1841 |
protected function delete_wp_roles($roles_to_del) {
|
1842 |
global $wp_roles;
|
1843 |
|
|
|
|
|
|
|
1844 |
if (!isset($wp_roles)) {
|
1845 |
$wp_roles = new WP_Roles();
|
1846 |
}
|
@@ -1886,6 +2083,9 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
1886 |
*/
|
1887 |
protected function delete_role() {
|
1888 |
|
|
|
|
|
|
|
1889 |
$mess = '';
|
1890 |
if (isset($_POST['user_role_id']) && $_POST['user_role_id']) {
|
1891 |
$role = $_POST['user_role_id'];
|
@@ -2119,6 +2319,9 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
2119 |
protected function add_new_capability() {
|
2120 |
global $wp_roles;
|
2121 |
|
|
|
|
|
|
|
2122 |
$mess = '';
|
2123 |
if (isset($_POST['capability_id']) && $_POST['capability_id']) {
|
2124 |
$user_capability = $_POST['capability_id'];
|
@@ -2160,6 +2363,10 @@ class Ure_Lib extends Garvs_WP_Lib {
|
|
2160 |
protected function delete_capability() {
|
2161 |
global $wpdb, $wp_roles;
|
2162 |
|
|
|
|
|
|
|
|
|
2163 |
$mess = '';
|
2164 |
if (!empty($_POST['user_capability_id'])) {
|
2165 |
$capability_id = $_POST['user_capability_id'];
|
33 |
protected $role_select_html = '';
|
34 |
protected $role_delete_html = '';
|
35 |
protected $capability_remove_html = '';
|
36 |
+
protected $advert = null;
|
37 |
|
38 |
|
39 |
/** class constructor
|
56 |
public function is_pro() {
|
57 |
return false;
|
58 |
}
|
59 |
+
// end of is_pro()
|
60 |
|
61 |
|
62 |
+
public function get_ure_object() {
|
63 |
+
|
64 |
+
return $this->ure_object;
|
65 |
+
}
|
66 |
+
// end of get_ure_object();
|
67 |
+
|
68 |
+
|
69 |
+
protected function get_ure_caps() {
|
70 |
+
|
71 |
+
$ure_caps = array(
|
72 |
+
'ure_edit_roles' => 1,
|
73 |
+
'ure_create_roles' => 1,
|
74 |
+
'ure_delete_roles' => 1,
|
75 |
+
'ure_create_capabilities' => 1,
|
76 |
+
'ure_delete_capabilities' => 1,
|
77 |
+
'ure_manage_options' => 1,
|
78 |
+
'ure_reset_roles' => 1
|
79 |
+
);
|
80 |
+
|
81 |
+
return $ure_caps;
|
82 |
+
}
|
83 |
+
// end of get_ure_caps()
|
84 |
+
|
85 |
+
|
86 |
+
protected function _init_ure_caps() {
|
87 |
+
global $wp_roles;
|
88 |
+
|
89 |
+
if (!isset($wp_roles->roles['administrator'])) {
|
90 |
+
return;
|
91 |
+
}
|
92 |
+
|
93 |
+
// Do not turn on URE caps for local administrator be default under multisite, as there is a superadmin.
|
94 |
+
$turn_on = !$this->multisite;
|
95 |
+
|
96 |
+
$old_use_db = $wp_roles->use_db;
|
97 |
+
$wp_roles->use_db = true;
|
98 |
+
$administrator = $wp_roles->role_objects['administrator'];
|
99 |
+
$ure_caps = $this->get_ure_caps();
|
100 |
+
foreach(array_keys($ure_caps) as $cap) {
|
101 |
+
if (!$administrator->has_cap($cap)) {
|
102 |
+
$administrator->add_cap($cap, $turn_on);
|
103 |
+
}
|
104 |
+
}
|
105 |
+
$wp_roles->use_db = $old_use_db;
|
106 |
+
}
|
107 |
+
// end of _init_ure_caps()
|
108 |
+
|
109 |
+
|
110 |
+
protected function init_ure_caps_multisite() {
|
111 |
+
global $wpdb;
|
112 |
+
|
113 |
+
$old_blog = $wpdb->blogid;
|
114 |
+
foreach ($this->blog_ids as $blog_id) {
|
115 |
+
switch_to_blog($blog_id);
|
116 |
+
$this->_init_ure_caps();
|
117 |
+
}
|
118 |
+
$this->restore_after_blog_switching($old_blog);
|
119 |
+
$this->roles = $this->get_user_roles();
|
120 |
+
}
|
121 |
+
// end of init_ure_caps_multisite()
|
122 |
+
|
123 |
+
|
124 |
+
public function init_ure_caps() {
|
125 |
+
if ($this->multisite) {
|
126 |
+
$this->init_ure_caps_multisite();
|
127 |
+
} else {
|
128 |
+
$this->_init_ure_caps();
|
129 |
+
}
|
130 |
+
|
131 |
+
}
|
132 |
+
// end of init_ure_caps()
|
133 |
+
|
134 |
+
|
135 |
/**
|
136 |
* get options for User Role Editor plugin
|
137 |
* User Role Editor stores its options at the main blog/site only and applies them to the all network
|
206 |
* @return string
|
207 |
*/
|
208 |
public function get_key_capability() {
|
209 |
+
|
210 |
if (!$this->multisite) {
|
211 |
$key_capability = URE_KEY_CAPABILITY;
|
212 |
} else {
|
218 |
$key_capability = 'manage_network_users';
|
219 |
}
|
220 |
}
|
221 |
+
|
222 |
return $key_capability;
|
223 |
}
|
224 |
// end of get_key_capability()
|
369 |
}
|
370 |
?>
|
371 |
<div id="ure_pro_advertisement" style="clear:left;display:block; float: left;">
|
372 |
+
<a href="https://www.role-editor.com?utm_source=UserRoleEditor&utm_medium=banner&utm_campaign=Plugins " target="_new" >
|
373 |
<?php
|
374 |
if ($this->hide_pro_banner) {
|
375 |
echo 'User Role Editor Pro: extended functionality, no advertisement - from $29.</a>';
|
674 |
|
675 |
|
676 |
/**
|
677 |
+
* Checks if user is allowed to use User Role Editor
|
678 |
*
|
679 |
* @global int $current_user
|
680 |
* @param int $user_id
|
693 |
}
|
694 |
// end of user_is_admin()
|
695 |
|
696 |
+
|
697 |
|
698 |
/**
|
699 |
* return array with WordPress user roles
|
708 |
|
709 |
if (!isset($wp_roles)) {
|
710 |
$wp_roles = new WP_Roles();
|
711 |
+
}
|
712 |
|
713 |
if (function_exists('bbp_filter_blog_editable_roles')) { // bbPress plugin is active
|
714 |
$this->roles = bbp_filter_blog_editable_roles($wp_roles->roles); // exclude bbPress roles
|
734 |
}
|
735 |
} else {
|
736 |
$this->roles = $wp_roles->roles;
|
737 |
+
}
|
738 |
+
|
739 |
if (is_array($this->roles) && count($this->roles) > 0) {
|
740 |
asort($this->roles);
|
741 |
}
|
1029 |
}
|
1030 |
|
1031 |
$caps_to_exclude = $this->get_built_in_wp_caps();
|
1032 |
+
$ure_caps = $this->get_ure_caps();
|
1033 |
+
$caps_to_exclude = array_merge($caps_to_exclude, $ure_caps);
|
1034 |
|
1035 |
$caps_to_remove = array();
|
1036 |
foreach ($full_caps_list as $capability => $value) {
|
1283 |
if (!$this->multisite || $super_admin || $add_del_role_for_simple_admin) { // restrict single site admin
|
1284 |
?>
|
1285 |
<hr />
|
1286 |
+
<?php
|
1287 |
+
if (current_user_can('ure_create_roles')) {
|
1288 |
+
?>
|
1289 |
<button id="ure_add_role" class="ure_toolbar_button">Add Role</button>
|
1290 |
+
<?php
|
1291 |
+
}
|
1292 |
+
?>
|
1293 |
<button id="ure_rename_role" class="ure_toolbar_button">Rename Role</button>
|
1294 |
<?php
|
1295 |
} // restrict single site admin
|
1296 |
if (!$this->multisite || $super_admin || !$caps_access_restrict_for_simple_admin) { // restrict single site admin
|
1297 |
+
if (current_user_can('ure_create_capabilities')) {
|
1298 |
?>
|
1299 |
<button id="ure_add_capability" class="ure_toolbar_button">Add Capability</button>
|
1300 |
<?php
|
1301 |
+
}
|
1302 |
} // restrict single site admin
|
1303 |
|
1304 |
if (!$this->multisite || $super_admin || $add_del_role_for_simple_admin) { // restrict single site admin
|
1305 |
+
if (!empty($role_delete) && current_user_can('ure_delete_roles')) {
|
1306 |
?>
|
1307 |
<button id="ure_delete_role" class="ure_toolbar_button">Delete Role</button>
|
1308 |
<?php
|
1310 |
} // restrict single site admin
|
1311 |
|
1312 |
if (!$this->multisite || $super_admin || !$caps_access_restrict_for_simple_admin) { // restrict single site admin
|
1313 |
+
if ($capability_remove && current_user_can('ure_delete_capabilities')) {
|
1314 |
?>
|
1315 |
<button id="ure_delete_capability" class="ure_toolbar_button">Delete Capability</button>
|
1316 |
<?php
|
1325 |
if (!$this->multisite ||
|
1326 |
(is_main_site( get_current_blog_id()) || (is_network_admin() && is_super_admin()))
|
1327 |
) {
|
1328 |
+
if (current_user_can('ure_reset_roles')) {
|
1329 |
?>
|
1330 |
+
<button id="ure_reset_roles_button" class="ure_toolbar_button" style="color: red;" title="Reset Roles to its original state">Reset</button>
|
1331 |
<?php
|
1332 |
+
}
|
1333 |
}
|
1334 |
?>
|
1335 |
</div>
|
1415 |
case 'update_core':
|
1416 |
$url = 'http://www.shinephp.com/update_core-capability-for-wordpress-user/';
|
1417 |
break;
|
1418 |
+
case 'ure_edit_roles':
|
1419 |
+
$url = 'https://www.role-editor.com/user-role-editor-4-18-new-permissions/';
|
1420 |
+
break;
|
1421 |
default:
|
1422 |
$url = '';
|
1423 |
}
|
1483 |
|
1484 |
|
1485 |
protected function add_capability_to_full_caps_list($cap_id) {
|
1486 |
+
if (!isset($this->full_capabilities[$cap_id])) { // if capability was not added yet
|
1487 |
$cap = array();
|
1488 |
$cap['inner'] = $cap_id;
|
1489 |
$cap['human'] = esc_html__($this->convert_caps_to_readable($cap_id), 'ure');
|
1498 |
}
|
1499 |
// end of add_capability_to_full_caps_list()
|
1500 |
|
1501 |
+
|
1502 |
+
/**
|
1503 |
+
* Add capabilities from user roles save at WordPress database
|
1504 |
+
*
|
1505 |
+
*/
|
1506 |
+
protected function add_roles_caps() {
|
1507 |
foreach ($this->roles as $role) {
|
1508 |
// validate if capabilities is an array
|
1509 |
if (isset($role['capabilities']) && is_array($role['capabilities'])) {
|
1510 |
+
foreach (array_keys($role['capabilities']) as $cap) {
|
1511 |
+
$this->add_capability_to_full_caps_list($cap);
|
1512 |
}
|
1513 |
}
|
1514 |
}
|
1515 |
+
}
|
1516 |
+
// end of add_roles_caps()
|
1517 |
+
|
1518 |
+
|
1519 |
+
/**
|
1520 |
+
* Add Gravity Forms plugin capabilities, if available
|
1521 |
+
*
|
1522 |
+
*/
|
1523 |
+
protected function add_gravity_forms_caps() {
|
1524 |
+
|
1525 |
if (class_exists('GFCommon')) {
|
1526 |
$gf_caps = GFCommon::all_caps();
|
1527 |
foreach ($gf_caps as $gf_cap) {
|
1528 |
$this->add_capability_to_full_caps_list($gf_cap);
|
1529 |
}
|
1530 |
+
}
|
1531 |
+
|
1532 |
+
}
|
1533 |
+
// end of add_gravity_forms_caps()
|
1534 |
+
|
1535 |
+
|
1536 |
+
/**
|
1537 |
+
* Provide compatibility with plugins and themes which define their custom user capabilities using
|
1538 |
+
* 'members_get_capabilities' filter from Members plugin
|
1539 |
+
*
|
1540 |
+
*/
|
1541 |
+
protected function add_members_caps() {
|
1542 |
+
|
1543 |
$custom_caps = array();
|
1544 |
$custom_caps = apply_filters( 'members_get_capabilities', $custom_caps );
|
1545 |
foreach ($custom_caps as $cap) {
|
1546 |
$this->add_capability_to_full_caps_list($cap);
|
1547 |
+
}
|
1548 |
+
|
1549 |
+
}
|
1550 |
+
// end of add_members_caps()
|
1551 |
+
|
1552 |
+
|
1553 |
+
/**
|
1554 |
+
* Add capabilities assigned directly to user, and not included into any role
|
1555 |
+
*
|
1556 |
+
*/
|
1557 |
+
protected function add_user_caps() {
|
1558 |
|
1559 |
if ($this->ure_object=='user') {
|
1560 |
+
foreach(array_keys($this->user_to_edit->caps) as $cap) {
|
1561 |
+
if (!isset($this->roles[$cap])) { // it is the user capability, not role
|
1562 |
+
$this->add_capability_to_full_caps_list($cap);
|
1563 |
}
|
1564 |
}
|
1565 |
}
|
1566 |
|
1567 |
+
}
|
1568 |
+
// end of add_user_caps()
|
1569 |
+
|
1570 |
+
|
1571 |
+
/**
|
1572 |
+
* Add built-in WordPress caps in case some were not included to the roles for some reason
|
1573 |
+
*
|
1574 |
+
*/
|
1575 |
+
protected function add_wordpress_caps() {
|
1576 |
+
|
1577 |
+
foreach (array_keys($this->built_in_wp_caps) as $cap) {
|
1578 |
+
$this->add_capability_to_full_caps_list($cap);
|
1579 |
+
}
|
1580 |
+
|
1581 |
+
}
|
1582 |
+
// end of add_wordpress_caps()
|
1583 |
+
|
1584 |
+
|
1585 |
+
protected function add_custom_post_type_caps() {
|
1586 |
+
|
1587 |
+
$post_types = get_post_types(array('public'=>true, 'show_ui'=>true, '_builtin'=>false), 'objects');
|
1588 |
+
foreach($post_types as $post_type) {
|
1589 |
+
if ($post_type->capability_type=='post') {
|
1590 |
+
continue;
|
1591 |
}
|
1592 |
+
$this->add_capability_to_full_caps_list($post_type->cap->create_posts);
|
1593 |
+
$this->add_capability_to_full_caps_list($post_type->cap->edit_posts);
|
1594 |
+
$this->add_capability_to_full_caps_list($post_type->cap->edit_published_posts);
|
1595 |
+
$this->add_capability_to_full_caps_list($post_type->cap->edit_others_posts);
|
1596 |
+
$this->add_capability_to_full_caps_list($post_type->cap->edit_private_posts);
|
1597 |
+
$this->add_capability_to_full_caps_list($post_type->cap->publish_posts);
|
1598 |
+
$this->add_capability_to_full_caps_list($post_type->cap->read_private_posts);
|
1599 |
+
$this->add_capability_to_full_caps_list($post_type->cap->delete_posts);
|
1600 |
+
$this->add_capability_to_full_caps_list($post_type->cap->delete_private_posts);
|
1601 |
+
$this->add_capability_to_full_caps_list($post_type->cap->delete_published_posts);
|
1602 |
+
$this->add_capability_to_full_caps_list($post_type->cap->delete_others_posts);
|
1603 |
+
|
1604 |
+
}
|
1605 |
+
|
1606 |
+
}
|
1607 |
+
// end of add_custom_post_type_caps()
|
1608 |
+
|
1609 |
+
|
1610 |
+
/**
|
1611 |
+
* Add capabilities for URE permissions system in case some were excluded from Administrator role
|
1612 |
+
*
|
1613 |
+
*/
|
1614 |
+
protected function add_ure_caps() {
|
1615 |
+
|
1616 |
+
$ure_caps = $this->get_ure_caps();
|
1617 |
+
foreach(array_keys($ure_caps) as $cap) {
|
1618 |
+
$this->add_capability_to_full_caps_list($cap);
|
1619 |
}
|
1620 |
|
1621 |
+
}
|
1622 |
+
// end of add_ure_caps()
|
1623 |
+
|
1624 |
+
|
1625 |
+
protected function init_full_capabilities() {
|
1626 |
+
|
1627 |
+
$this->built_in_wp_caps = $this->get_built_in_wp_caps();
|
1628 |
+
$this->full_capabilities = array();
|
1629 |
+
$this->add_roles_caps();
|
1630 |
+
$this->add_gravity_forms_caps();
|
1631 |
+
$this->add_members_caps();
|
1632 |
+
$this->add_user_caps();
|
1633 |
+
$this->add_wordpress_caps();
|
1634 |
+
$this->add_custom_post_type_caps();
|
1635 |
+
$this->add_ure_caps();
|
1636 |
+
|
1637 |
unset($this->built_in_wp_caps);
|
1638 |
asort($this->full_capabilities);
|
1639 |
}
|
1665 |
* reset user roles to WordPress default roles
|
1666 |
*/
|
1667 |
protected function reset_user_roles() {
|
1668 |
+
|
1669 |
+
if (!current_user_can('ure_reset_roles')) {
|
1670 |
+
return esc_html__('Insufficient permissions to work with User Role Editor','ure');
|
1671 |
+
}
|
1672 |
|
1673 |
$this->wp_roles_reinit();
|
1674 |
+
$this->_init_ure_caps();
|
1675 |
if ($this->is_full_network_synch() || $this->apply_to_all) {
|
1676 |
$this->current_role = '';
|
1677 |
$this->direct_network_roles_update();
|
1919 |
|
1920 |
global $wp_roles;
|
1921 |
|
1922 |
+
if (!current_user_can('ure_create_roles')) {
|
1923 |
+
return esc_html__('Insufficient permissions to work with User Role Editor','ure');
|
1924 |
+
}
|
1925 |
$mess = '';
|
1926 |
$this->current_role = '';
|
1927 |
if (isset($_POST['user_role_id']) && $_POST['user_role_id']) {
|
2035 |
protected function delete_wp_roles($roles_to_del) {
|
2036 |
global $wp_roles;
|
2037 |
|
2038 |
+
if (!current_user_can('ure_delete_roles')) {
|
2039 |
+
return esc_html__('Insufficient permissions to work with User Role Editor','ure');
|
2040 |
+
}
|
2041 |
if (!isset($wp_roles)) {
|
2042 |
$wp_roles = new WP_Roles();
|
2043 |
}
|
2083 |
*/
|
2084 |
protected function delete_role() {
|
2085 |
|
2086 |
+
if (!current_user_can('ure_delete_roles')) {
|
2087 |
+
return esc_html__('Insufficient permissions to work with User Role Editor','ure');
|
2088 |
+
}
|
2089 |
$mess = '';
|
2090 |
if (isset($_POST['user_role_id']) && $_POST['user_role_id']) {
|
2091 |
$role = $_POST['user_role_id'];
|
2319 |
protected function add_new_capability() {
|
2320 |
global $wp_roles;
|
2321 |
|
2322 |
+
if (!current_user_can('ure_create_capabilities')) {
|
2323 |
+
return esc_html__('Insufficient permissions to work with User Role Editor','ure');
|
2324 |
+
}
|
2325 |
$mess = '';
|
2326 |
if (isset($_POST['capability_id']) && $_POST['capability_id']) {
|
2327 |
$user_capability = $_POST['capability_id'];
|
2363 |
protected function delete_capability() {
|
2364 |
global $wpdb, $wp_roles;
|
2365 |
|
2366 |
+
|
2367 |
+
if (!current_user_can('ure_delete_capabilities')) {
|
2368 |
+
return esc_html__('Insufficient permissions to work with User Role Editor','ure');
|
2369 |
+
}
|
2370 |
$mess = '';
|
2371 |
if (!empty($_POST['user_capability_id'])) {
|
2372 |
$capability_id = $_POST['user_capability_id'];
|
includes/class-user-role-editor.php
CHANGED
@@ -81,7 +81,7 @@ class User_Role_Editor {
|
|
81 |
*/
|
82 |
public function plugin_init() {
|
83 |
|
84 |
-
global $current_user;
|
85 |
|
86 |
if (!empty($current_user->ID)) {
|
87 |
$user_id = $current_user->ID;
|
@@ -119,6 +119,9 @@ class User_Role_Editor {
|
|
119 |
remove_all_filters( 'enable_edit_any_user_configuration' );
|
120 |
add_filter( 'enable_edit_any_user_configuration', '__return_true');
|
121 |
add_filter( 'admin_head', array($this, 'edit_user_permission_check'), 1, 4 );
|
|
|
|
|
|
|
122 |
}
|
123 |
} else {
|
124 |
add_action( 'user_register', array($this, 'add_other_default_roles'), 10, 1 );
|
@@ -134,7 +137,42 @@ class User_Role_Editor {
|
|
134 |
|
135 |
}
|
136 |
// end of plugin_init()
|
137 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
|
139 |
public function move_users_from_no_role_button() {
|
140 |
|
@@ -464,17 +502,23 @@ class User_Role_Editor {
|
|
464 |
|
465 |
|
466 |
/**
|
467 |
-
* Filter out URE plugin from not
|
468 |
* @param type array $plugins plugins list
|
469 |
* @return type array $plugins updated plugins list
|
470 |
*/
|
471 |
-
public function exclude_from_plugins_list($plugins) {
|
472 |
-
global $current_user;
|
473 |
|
474 |
-
$ure_key_capability = $this->lib->get_key_capability();
|
475 |
// if multi-site, then allow plugin activation for network superadmins and, if that's specially defined, - for single site administrators too
|
476 |
-
if ($this->lib->
|
477 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
478 |
}
|
479 |
|
480 |
// exclude URE from plugins list
|
@@ -588,7 +632,7 @@ class User_Role_Editor {
|
|
588 |
$this->settings_page_hook = add_options_page(
|
589 |
$translated_title,
|
590 |
$translated_title,
|
591 |
-
|
592 |
'settings-' . URE_PLUGIN_FILE,
|
593 |
array($this, 'settings'));
|
594 |
add_action( 'load-'.$this->settings_page_hook, array($this,'settings_screen_configure') );
|
@@ -804,8 +848,7 @@ class User_Role_Editor {
|
|
804 |
} else {
|
805 |
$user_id = false;
|
806 |
}
|
807 |
-
|
808 |
-
if (!$this->lib->user_has_capability($current_user, $ure_key_capability)) {
|
809 |
die(esc_html__('Insufficient permissions to work with User Role Editor', 'ure'));
|
810 |
}
|
811 |
|
@@ -833,7 +876,9 @@ class User_Role_Editor {
|
|
833 |
$this->convert_option('ure_hide_pro_banner');
|
834 |
$this->lib->flush_options();
|
835 |
|
836 |
-
|
|
|
|
|
837 |
|
838 |
do_action('ure_activation');
|
839 |
|
@@ -941,9 +986,6 @@ class User_Role_Editor {
|
|
941 |
if (!$this->is_user_profile_extention_allowed()) {
|
942 |
return;
|
943 |
}
|
944 |
-
if (!$this->lib->user_is_admin($current_user->ID)) {
|
945 |
-
return;
|
946 |
-
}
|
947 |
?>
|
948 |
<h3><?php _e('User Role Editor', 'ure'); ?></h3>
|
949 |
<table class="form-table">
|
@@ -957,9 +999,13 @@ class User_Role_Editor {
|
|
957 |
echo '<input type="hidden" name="ure_other_roles[]" value="' . $role . '" />';
|
958 |
}
|
959 |
}
|
960 |
-
|
961 |
-
|
962 |
-
|
|
|
|
|
|
|
|
|
963 |
?>
|
964 |
</td>
|
965 |
</tr>
|
81 |
*/
|
82 |
public function plugin_init() {
|
83 |
|
84 |
+
global $current_user, $pagenow;
|
85 |
|
86 |
if (!empty($current_user->ID)) {
|
87 |
$user_id = $current_user->ID;
|
119 |
remove_all_filters( 'enable_edit_any_user_configuration' );
|
120 |
add_filter( 'enable_edit_any_user_configuration', '__return_true');
|
121 |
add_filter( 'admin_head', array($this, 'edit_user_permission_check'), 1, 4 );
|
122 |
+
if ($pagenow=='user-new.php') {
|
123 |
+
add_filter( 'site_option_site_admins', array($this, 'allow_add_user_as_superadmin') );
|
124 |
+
}
|
125 |
}
|
126 |
} else {
|
127 |
add_action( 'user_register', array($this, 'add_other_default_roles'), 10, 1 );
|
137 |
|
138 |
}
|
139 |
// end of plugin_init()
|
140 |
+
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Allow non-superadmin user to add/create users to the site as superadmin does.
|
144 |
+
* Include current user to the list of superadmins - for the user-new.php page only, and
|
145 |
+
* if user really can create_users and promote_users
|
146 |
+
* @global string $page
|
147 |
+
* @param array $site_admins
|
148 |
+
* @return array
|
149 |
+
*/
|
150 |
+
public function allow_add_user_as_superadmin($site_admins) {
|
151 |
+
|
152 |
+
global $pagenow, $current_user;
|
153 |
+
|
154 |
+
if ($pagenow!=='user-new.php') {
|
155 |
+
return $site_admins;
|
156 |
+
}
|
157 |
+
|
158 |
+
// Check if current user really can create and promote users
|
159 |
+
remove_filter('site_option_site_admins', array($this, 'allow_add_user_as_superadmin'));
|
160 |
+
$can_add_user = current_user_can('create_users') && current_user_can('promote_users');
|
161 |
+
add_filter('site_option_site_admins', array($this, 'allow_add_user_as_superadmin'));
|
162 |
+
|
163 |
+
if (!$can_add_user) {
|
164 |
+
return $site_admins; // no help in this case
|
165 |
+
}
|
166 |
+
|
167 |
+
if (!in_array($current_user->user_login, $site_admins)) {
|
168 |
+
$site_admins[] = $current_user->user_login;
|
169 |
+
}
|
170 |
+
|
171 |
+
return $site_admins;
|
172 |
+
|
173 |
+
}
|
174 |
+
// end of allow_add_user_as_superadmin()
|
175 |
+
|
176 |
|
177 |
public function move_users_from_no_role_button() {
|
178 |
|
502 |
|
503 |
|
504 |
/**
|
505 |
+
* Filter out URE plugin from not admin users to prevent its not authorized deactivation
|
506 |
* @param type array $plugins plugins list
|
507 |
* @return type array $plugins updated plugins list
|
508 |
*/
|
509 |
+
public function exclude_from_plugins_list($plugins) {
|
|
|
510 |
|
|
|
511 |
// if multi-site, then allow plugin activation for network superadmins and, if that's specially defined, - for single site administrators too
|
512 |
+
if ($this->lib->multisite) {
|
513 |
+
if (is_super_admin() || $this->lib->user_is_admin()) {
|
514 |
+
return $plugins;
|
515 |
+
}
|
516 |
+
} else {
|
517 |
+
// is_super_admin() defines superadmin for not multisite as user who can 'delete_users' which I don't like.
|
518 |
+
// So let's check if user has 'administrator' role better.
|
519 |
+
if (current_user_can('administrator') || $this->lib->user_is_admin()) {
|
520 |
+
return $plugins;
|
521 |
+
}
|
522 |
}
|
523 |
|
524 |
// exclude URE from plugins list
|
632 |
$this->settings_page_hook = add_options_page(
|
633 |
$translated_title,
|
634 |
$translated_title,
|
635 |
+
'ure_manage_options',
|
636 |
'settings-' . URE_PLUGIN_FILE,
|
637 |
array($this, 'settings'));
|
638 |
add_action( 'load-'.$this->settings_page_hook, array($this,'settings_screen_configure') );
|
848 |
} else {
|
849 |
$user_id = false;
|
850 |
}
|
851 |
+
if (!$this->lib->user_has_capability($current_user, $this->key_capability)) {
|
|
|
852 |
die(esc_html__('Insufficient permissions to work with User Role Editor', 'ure'));
|
853 |
}
|
854 |
|
876 |
$this->convert_option('ure_hide_pro_banner');
|
877 |
$this->lib->flush_options();
|
878 |
|
879 |
+
$this->lib->make_roles_backup();
|
880 |
+
$this->lib->init_ure_caps();
|
881 |
+
|
882 |
|
883 |
do_action('ure_activation');
|
884 |
|
986 |
if (!$this->is_user_profile_extention_allowed()) {
|
987 |
return;
|
988 |
}
|
|
|
|
|
|
|
989 |
?>
|
990 |
<h3><?php _e('User Role Editor', 'ure'); ?></h3>
|
991 |
<table class="form-table">
|
999 |
echo '<input type="hidden" name="ure_other_roles[]" value="' . $role . '" />';
|
1000 |
}
|
1001 |
}
|
1002 |
+
|
1003 |
+
$output = $this->lib->roles_text($roles);
|
1004 |
+
echo $output;
|
1005 |
+
if ($this->lib->user_is_admin($current_user->ID)) {
|
1006 |
+
echo ' >> <a href="' . wp_nonce_url("users.php?page=users-".URE_PLUGIN_FILE."&object=user&user_id={$user->ID}", "ure_user_{$user->ID}") . '">' .
|
1007 |
+
esc_html__('Edit', 'ure') . '</a>';
|
1008 |
+
}
|
1009 |
?>
|
1010 |
</td>
|
1011 |
</tr>
|
includes/define-constants.php
CHANGED
@@ -12,4 +12,4 @@ define('URE_WP_ADMIN_URL', admin_url());
|
|
12 |
define('URE_ERROR', 'Error is encountered');
|
13 |
define('URE_SPACE_REPLACER', '_URE-SR_');
|
14 |
define('URE_PARENT', is_network_admin() ? 'network/users.php':'users.php');
|
15 |
-
define('URE_KEY_CAPABILITY', '
|
12 |
define('URE_ERROR', 'Error is encountered');
|
13 |
define('URE_SPACE_REPLACER', '_URE-SR_');
|
14 |
define('URE_PARENT', is_network_admin() ? 'network/users.php':'users.php');
|
15 |
+
define('URE_KEY_CAPABILITY', 'ure_edit_roles');
|
js/ure-js.js
CHANGED
@@ -316,7 +316,7 @@ function ure_show_rename_role_dialog() {
|
|
316 |
});
|
317 |
});
|
318 |
|
319 |
-
jQuery(
|
320 |
label: ure_data.reset
|
321 |
}).click(function(){
|
322 |
event.preventDefault();
|
316 |
});
|
317 |
});
|
318 |
|
319 |
+
jQuery('#ure_reset_roles_button').button({
|
320 |
label: ure_data.reset
|
321 |
}).click(function(){
|
322 |
event.preventDefault();
|
lang/ure-it_IT.mo
ADDED
Binary file
|
lang/ure-it_IT.po
ADDED
@@ -0,0 +1,876 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: User Role Editor 2.0\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2014-10-21 10:21+0700\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Vladimir Garagulya <support@role-editor.com>\n"
|
8 |
+
"Language-Team: Goldenhawk <giuseppe.velardo@gmail.com>\n"
|
9 |
+
"Language: it_IT\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;esc_html__;esc_html_e\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Generator: Poedit 1.5.4\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
"X-Poedit-SearchPath-0: ..\n"
|
19 |
+
|
20 |
+
#: ../includes/settings-template.php:17
|
21 |
+
msgid "User Role Editor - Options"
|
22 |
+
msgstr "User Role Editor - Opzioni"
|
23 |
+
|
24 |
+
#: ../includes/settings-template.php:21
|
25 |
+
#: ../includes/class-user-role-editor.php:547
|
26 |
+
msgid "General"
|
27 |
+
msgstr "Generali"
|
28 |
+
|
29 |
+
#: ../includes/settings-template.php:26
|
30 |
+
#: ../includes/class-user-role-editor.php:553
|
31 |
+
msgid "Additional Modules"
|
32 |
+
msgstr "Moduli addizionali"
|
33 |
+
|
34 |
+
#: ../includes/settings-template.php:30
|
35 |
+
#: ../includes/class-user-role-editor.php:559
|
36 |
+
msgid "Default Roles"
|
37 |
+
msgstr "Ruoli di default"
|
38 |
+
|
39 |
+
#: ../includes/settings-template.php:34
|
40 |
+
#: ../includes/class-user-role-editor.php:565
|
41 |
+
msgid "Multisite"
|
42 |
+
msgstr "Multisito"
|
43 |
+
|
44 |
+
#: ../includes/settings-template.php:39
|
45 |
+
msgid "About"
|
46 |
+
msgstr "Info"
|
47 |
+
|
48 |
+
#: ../includes/settings-template.php:53
|
49 |
+
#: ../includes/class-ure-screen-help.php:15
|
50 |
+
msgid "Show Administrator role at User Role Editor"
|
51 |
+
msgstr "Mostra il ruolo Amministratore sull'Editor Ruolo Utente"
|
52 |
+
|
53 |
+
#: ../includes/settings-template.php:61
|
54 |
+
#: ../includes/class-ure-screen-help.php:18
|
55 |
+
msgid "Show capabilities in the human readable form"
|
56 |
+
msgstr "Mostra le funzionalità in forma umana leggibile"
|
57 |
+
|
58 |
+
#: ../includes/settings-template.php:69 ../includes/ure-role-edit.php:40
|
59 |
+
#: ../includes/ure-user-edit.php:63 ../includes/class-ure-screen-help.php:21
|
60 |
+
msgid "Show deprecated capabilities"
|
61 |
+
msgstr "Mostra funzionalità disapprovate"
|
62 |
+
|
63 |
+
#: ../includes/settings-template.php:81 ../includes/settings-template.php:117
|
64 |
+
#: ../includes/settings-template.php:149 ../includes/settings-template.php:181
|
65 |
+
msgid "Save"
|
66 |
+
msgstr "Salva"
|
67 |
+
|
68 |
+
#: ../includes/settings-template.php:102
|
69 |
+
#: ../includes/class-ure-screen-help.php:41
|
70 |
+
msgid "Count users without role"
|
71 |
+
msgstr "Conta utenti senza ruolo"
|
72 |
+
|
73 |
+
#: ../includes/settings-template.php:129
|
74 |
+
msgid "Primary default role: "
|
75 |
+
msgstr "Ruolo primario di default:"
|
76 |
+
|
77 |
+
#: ../includes/settings-template.php:136
|
78 |
+
msgid "Other default roles for new registered user: "
|
79 |
+
msgstr "Altri ruoli di default per gli utenti appena registrati:"
|
80 |
+
|
81 |
+
#: ../includes/settings-template.php:142
|
82 |
+
msgid ""
|
83 |
+
"Note for multisite environment: take into account that other default roles "
|
84 |
+
"should exist at the site, in order to be assigned to the new registered "
|
85 |
+
"users."
|
86 |
+
msgstr ""
|
87 |
+
"Nota per ambiente multisito: tieni in conto che altri ruoli predefiniti "
|
88 |
+
"dovrebbero esistere nel sito, per essere assegnati ai nuovi utenti "
|
89 |
+
"registrati."
|
90 |
+
|
91 |
+
#: ../includes/settings-template.php:168
|
92 |
+
msgid "Allow non super administrators to create, edit, and delete users"
|
93 |
+
msgstr ""
|
94 |
+
"Permetti ad un non super amministratore di creare, modificare e cancellare "
|
95 |
+
"utenti"
|
96 |
+
|
97 |
+
#: ../includes/class-user-role-editor.php:195
|
98 |
+
msgid "Change role for users without role"
|
99 |
+
msgstr "Cambia ruolo agli utenti senza alcun ruolo"
|
100 |
+
|
101 |
+
#: ../includes/class-user-role-editor.php:196
|
102 |
+
msgid "No rights"
|
103 |
+
msgstr "Nessun diritto"
|
104 |
+
|
105 |
+
#: ../includes/class-user-role-editor.php:197
|
106 |
+
msgid "Provide new role"
|
107 |
+
msgstr "Fornisci nuovo ruolo"
|
108 |
+
|
109 |
+
#: ../includes/class-user-role-editor.php:281
|
110 |
+
#: ../includes/class-user-role-editor.php:283
|
111 |
+
msgid "You do not have permission to edit this user."
|
112 |
+
msgstr "Non hai i permessi per modificare questo utente."
|
113 |
+
|
114 |
+
#: ../includes/class-user-role-editor.php:422
|
115 |
+
msgid "Capabilities"
|
116 |
+
msgstr "Funzionalità"
|
117 |
+
|
118 |
+
#: ../includes/class-user-role-editor.php:514
|
119 |
+
msgid "Settings"
|
120 |
+
msgstr "Parametri"
|
121 |
+
|
122 |
+
#: ../includes/class-user-role-editor.php:525
|
123 |
+
#: ../includes/class-ure-lib.php:2295
|
124 |
+
msgid "Changelog"
|
125 |
+
msgstr "Changelog"
|
126 |
+
|
127 |
+
#: ../includes/class-user-role-editor.php:575
|
128 |
+
#: ../includes/class-user-role-editor.php:603
|
129 |
+
#: ../includes/class-user-role-editor.php:948
|
130 |
+
#: ../includes/class-ure-lib.php:251
|
131 |
+
msgid "User Role Editor"
|
132 |
+
msgstr "Editor Ruolo Utente"
|
133 |
+
|
134 |
+
#: ../includes/class-user-role-editor.php:660
|
135 |
+
#: ../includes/class-user-role-editor.php:678
|
136 |
+
#: ../includes/class-user-role-editor.php:722
|
137 |
+
msgid "User Role Editor options are updated"
|
138 |
+
msgstr "Le opzioni dell'Editor Ruolo Utente sono aggiornate"
|
139 |
+
|
140 |
+
#: ../includes/class-user-role-editor.php:706
|
141 |
+
msgid "Default Roles are updated"
|
142 |
+
msgstr "Ruoli di default aggiornati"
|
143 |
+
|
144 |
+
#: ../includes/class-user-role-editor.php:730
|
145 |
+
msgid ""
|
146 |
+
"You do not have sufficient permissions to manage options for User Role "
|
147 |
+
"Editor."
|
148 |
+
msgstr ""
|
149 |
+
"Non hai permessi sufficienti per gesstire le opzioni per l'Editor Ruolo "
|
150 |
+
"Utente."
|
151 |
+
|
152 |
+
#: ../includes/class-user-role-editor.php:809
|
153 |
+
msgid "Insufficient permissions to work with User Role Editor"
|
154 |
+
msgstr "Permessi insufficienti per lavorare con l'Editor Ruolo Utente"
|
155 |
+
|
156 |
+
#: ../includes/class-user-role-editor.php:890
|
157 |
+
msgid "Select All"
|
158 |
+
msgstr "Seleziona tutti"
|
159 |
+
|
160 |
+
#: ../includes/class-user-role-editor.php:891
|
161 |
+
msgid "Unselect All"
|
162 |
+
msgstr "Deseleziona tutti"
|
163 |
+
|
164 |
+
#: ../includes/class-user-role-editor.php:892
|
165 |
+
msgid "Reverse"
|
166 |
+
msgstr "Revoca"
|
167 |
+
|
168 |
+
#: ../includes/class-user-role-editor.php:893
|
169 |
+
msgid "Update"
|
170 |
+
msgstr "Aggiorna"
|
171 |
+
|
172 |
+
#: ../includes/class-user-role-editor.php:894
|
173 |
+
msgid "Please confirm permissions update"
|
174 |
+
msgstr "Conferma l'aggiornamento dei permessi"
|
175 |
+
|
176 |
+
#: ../includes/class-user-role-editor.php:895
|
177 |
+
msgid "Add New Role"
|
178 |
+
msgstr "Aggiungi nuovo ruolo"
|
179 |
+
|
180 |
+
#: ../includes/class-user-role-editor.php:896
|
181 |
+
#: ../includes/class-user-role-editor.php:901
|
182 |
+
msgid "Rename Role"
|
183 |
+
msgstr "Rinomina ruolo"
|
184 |
+
|
185 |
+
#: ../includes/class-user-role-editor.php:897
|
186 |
+
msgid " Role name (ID) can not be empty!"
|
187 |
+
msgstr "Nome Ruolo (ID) non può essere vuoto!"
|
188 |
+
|
189 |
+
#: ../includes/class-user-role-editor.php:898
|
190 |
+
msgid ""
|
191 |
+
" Role name (ID) must contain latin characters, digits, hyphens or underscore "
|
192 |
+
"only!"
|
193 |
+
msgstr ""
|
194 |
+
"Il nome Ruolo (ID) deve contenere solo caratteri latini, numeri, trattini o "
|
195 |
+
"underscore!"
|
196 |
+
|
197 |
+
#: ../includes/class-user-role-editor.php:899
|
198 |
+
msgid ""
|
199 |
+
" WordPress does not support numeric Role name (ID). Add latin characters to "
|
200 |
+
"it."
|
201 |
+
msgstr ""
|
202 |
+
"Wordpress non supporta il nome Ruolo (ID) nel formaro numerico. Inserisci "
|
203 |
+
"caratteri latini."
|
204 |
+
|
205 |
+
#: ../includes/class-user-role-editor.php:900
|
206 |
+
msgid "Add Role"
|
207 |
+
msgstr "Aggiungi Ruolo"
|
208 |
+
|
209 |
+
#: ../includes/class-user-role-editor.php:902
|
210 |
+
msgid "Delete Role"
|
211 |
+
msgstr "Cancella Ruolo"
|
212 |
+
|
213 |
+
#: ../includes/class-user-role-editor.php:903
|
214 |
+
msgid "Cancel"
|
215 |
+
msgstr "Cancella"
|
216 |
+
|
217 |
+
#: ../includes/class-user-role-editor.php:904
|
218 |
+
msgid "Add Capability"
|
219 |
+
msgstr "Aggiungi funzionalità"
|
220 |
+
|
221 |
+
#: ../includes/class-user-role-editor.php:905
|
222 |
+
#: ../includes/class-user-role-editor.php:914
|
223 |
+
msgid "Delete Capability"
|
224 |
+
msgstr "Cancella funzionalità"
|
225 |
+
|
226 |
+
#: ../includes/class-user-role-editor.php:906
|
227 |
+
msgid "Reset"
|
228 |
+
msgstr "Resetta"
|
229 |
+
|
230 |
+
#: ../includes/class-user-role-editor.php:907
|
231 |
+
msgid "DANGER! Resetting will restore default settings from WordPress Core."
|
232 |
+
msgstr ""
|
233 |
+
"PERICOLO! Il Reset ripristinerà i parametri di default dal nucleo Wordpress."
|
234 |
+
|
235 |
+
#: ../includes/class-user-role-editor.php:908
|
236 |
+
msgid ""
|
237 |
+
"If any plugins have changed capabilities in any way upon installation (such "
|
238 |
+
"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!"
|
239 |
+
msgstr ""
|
240 |
+
"Se qualche plugin ha cambiato le funzionalità in qualche mododopo "
|
241 |
+
"l'installazione (tipo S2Members, WooCommerce, ed altri), queste funzionalità "
|
242 |
+
"saranno cancellate!"
|
243 |
+
|
244 |
+
#: ../includes/class-user-role-editor.php:909
|
245 |
+
msgid ""
|
246 |
+
"For more information on how to undo changes and restore plugin capabilities "
|
247 |
+
"go to"
|
248 |
+
msgstr ""
|
249 |
+
"Per altre informazioni su come tornare indietro con le modifiche e "
|
250 |
+
"ripristinare le funzionalità del plugin vai a"
|
251 |
+
|
252 |
+
#: ../includes/class-user-role-editor.php:911
|
253 |
+
msgid "Continue?"
|
254 |
+
msgstr "Continui?"
|
255 |
+
|
256 |
+
#: ../includes/class-user-role-editor.php:912
|
257 |
+
msgid "Default Role"
|
258 |
+
msgstr "Ruolo di default"
|
259 |
+
|
260 |
+
#: ../includes/class-user-role-editor.php:913
|
261 |
+
msgid "Set New Default Role"
|
262 |
+
msgstr "Setta Nuovo Ruolo di Default"
|
263 |
+
|
264 |
+
#: ../includes/class-user-role-editor.php:915
|
265 |
+
msgid ""
|
266 |
+
"Warning! Be careful - removing critical capability could crash some plugin "
|
267 |
+
"or other custom code"
|
268 |
+
msgstr ""
|
269 |
+
"Attenzione! rimuovendo le funzionalità critiche può far 'crashare' il plugin "
|
270 |
+
"o codice personalizzato al crash "
|
271 |
+
|
272 |
+
#: ../includes/class-user-role-editor.php:916
|
273 |
+
msgid " Capability name (ID) can not be empty!"
|
274 |
+
msgstr "Nome funzionalità (ID) non può essere vuoto!"
|
275 |
+
|
276 |
+
#: ../includes/class-user-role-editor.php:917
|
277 |
+
msgid ""
|
278 |
+
" Capability name (ID) must contain latin characters, digits, hyphens or "
|
279 |
+
"underscore only!"
|
280 |
+
msgstr ""
|
281 |
+
"Nome funzionalità (ID) deve contenere solo caratteri latini, numeri, "
|
282 |
+
"trattini o underscore!"
|
283 |
+
|
284 |
+
#: ../includes/class-user-role-editor.php:951
|
285 |
+
#: ../includes/class-user-role-editor.php:980
|
286 |
+
msgid "Other Roles"
|
287 |
+
msgstr "Altri Ruoli"
|
288 |
+
|
289 |
+
#: ../includes/class-user-role-editor.php:962
|
290 |
+
msgid "Edit"
|
291 |
+
msgstr "Modifica"
|
292 |
+
|
293 |
+
#: ../includes/ure-role-edit.php:17
|
294 |
+
msgid "Select Role and change its capabilities:"
|
295 |
+
msgstr "Seleziona il Ruolo e varia le sue funzionalità:"
|
296 |
+
|
297 |
+
#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:53
|
298 |
+
msgid "Show capabilities in human readable form"
|
299 |
+
msgstr "Mostra le funzionalità in una forma umana leggibile"
|
300 |
+
|
301 |
+
#: ../includes/ure-role-edit.php:44
|
302 |
+
msgid "If checked, then apply action to ALL sites of this Network"
|
303 |
+
msgstr "Se selezionato, applica l'azione a tuti i siti su questa rete"
|
304 |
+
|
305 |
+
#: ../includes/ure-role-edit.php:56
|
306 |
+
msgid "Apply to All Sites"
|
307 |
+
msgstr "Applica a tutti i siti"
|
308 |
+
|
309 |
+
#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:109
|
310 |
+
msgid "Core capabilities:"
|
311 |
+
msgstr "Funzionalità nucleo:"
|
312 |
+
|
313 |
+
#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:111
|
314 |
+
msgid "Quick filter:"
|
315 |
+
msgstr "Filtro veloce:"
|
316 |
+
|
317 |
+
#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:130
|
318 |
+
msgid "Custom capabilities:"
|
319 |
+
msgstr "Funzionalità personalizzate:"
|
320 |
+
|
321 |
+
#: ../includes/class-ure-lib.php:159
|
322 |
+
msgid "Error: wrong request"
|
323 |
+
msgstr "Errore: richiesta errata"
|
324 |
+
|
325 |
+
#: ../includes/class-ure-lib.php:192 ../includes/class-ure-lib.php:203
|
326 |
+
msgid "Role name (ID): "
|
327 |
+
msgstr "Nome Ruolo (ID):"
|
328 |
+
|
329 |
+
#: ../includes/class-ure-lib.php:194 ../includes/class-ure-lib.php:205
|
330 |
+
msgid "Display Role Name: "
|
331 |
+
msgstr "Mostra Nome Ruolo:"
|
332 |
+
|
333 |
+
#: ../includes/class-ure-lib.php:196
|
334 |
+
msgid "Make copy of: "
|
335 |
+
msgstr "Fai una copia di:"
|
336 |
+
|
337 |
+
#: ../includes/class-ure-lib.php:212
|
338 |
+
msgid "Select Role:"
|
339 |
+
msgstr "Seleziona Ruolo:"
|
340 |
+
|
341 |
+
#: ../includes/class-ure-lib.php:227
|
342 |
+
msgid "Delete:"
|
343 |
+
msgstr "Cancella:"
|
344 |
+
|
345 |
+
#: ../includes/class-ure-lib.php:234
|
346 |
+
msgid "Capability name (ID): "
|
347 |
+
msgstr "Nome funzionalità (ID):"
|
348 |
+
|
349 |
+
#: ../includes/class-ure-lib.php:348
|
350 |
+
msgid "Error: "
|
351 |
+
msgstr "Errore:"
|
352 |
+
|
353 |
+
#: ../includes/class-ure-lib.php:348
|
354 |
+
msgid "Role"
|
355 |
+
msgstr "Ruolo"
|
356 |
+
|
357 |
+
#: ../includes/class-ure-lib.php:349
|
358 |
+
msgid "does not exist"
|
359 |
+
msgstr "non esiste"
|
360 |
+
|
361 |
+
#: ../includes/class-ure-lib.php:392
|
362 |
+
msgid "Role is updated successfully"
|
363 |
+
msgstr "Ruolo aggiornato correttamente"
|
364 |
+
|
365 |
+
#: ../includes/class-ure-lib.php:394
|
366 |
+
msgid "Roles are updated for all network"
|
367 |
+
msgstr "I Ruoli sono aggiornati per tutto il network"
|
368 |
+
|
369 |
+
#: ../includes/class-ure-lib.php:400
|
370 |
+
msgid "Error occured during role(s) update"
|
371 |
+
msgstr "Errore durante l'aggiornamento Ruolo(i)"
|
372 |
+
|
373 |
+
#: ../includes/class-ure-lib.php:407
|
374 |
+
msgid "User capabilities are updated successfully"
|
375 |
+
msgstr "Funzionalità utenti aggiornate con successo"
|
376 |
+
|
377 |
+
#: ../includes/class-ure-lib.php:412
|
378 |
+
msgid "Error occured during user update"
|
379 |
+
msgstr "Errore di aggiornamento utente"
|
380 |
+
|
381 |
+
#: ../includes/class-ure-lib.php:470
|
382 |
+
msgid "User Roles are restored to WordPress default values. "
|
383 |
+
msgstr "i Ruolo Utente sono rirpstinati ai valori di default Wordpress."
|
384 |
+
|
385 |
+
#: ../includes/class-ure-lib.php:1337
|
386 |
+
msgid "Help"
|
387 |
+
msgstr "Aiuto"
|
388 |
+
|
389 |
+
#: ../includes/class-ure-lib.php:1695
|
390 |
+
msgid "Error is occur. Please check the log file."
|
391 |
+
msgstr "Errore. Controlla file log."
|
392 |
+
|
393 |
+
#: ../includes/class-ure-lib.php:1738 ../includes/class-ure-lib.php:1805
|
394 |
+
msgid ""
|
395 |
+
"Error: Role ID must contain latin characters, digits, hyphens or underscore "
|
396 |
+
"only!"
|
397 |
+
msgstr ""
|
398 |
+
"Errore: ID Ruolo deve contenere solo caratteri latini, numeri, trattini o "
|
399 |
+
"uderscore!"
|
400 |
+
|
401 |
+
#: ../includes/class-ure-lib.php:1742 ../includes/class-ure-lib.php:1809
|
402 |
+
msgid ""
|
403 |
+
"Error: WordPress does not support numeric Role name (ID). Add latin "
|
404 |
+
"characters to it."
|
405 |
+
msgstr ""
|
406 |
+
"Errore: WordPress non supporta il nome Ruolo (ID) nel formato numerico. "
|
407 |
+
"Aggiungi caratteri latini."
|
408 |
+
|
409 |
+
#: ../includes/class-ure-lib.php:1757
|
410 |
+
#, php-format
|
411 |
+
msgid "Role %s exists already"
|
412 |
+
msgstr "Il Ruolo %s esiste"
|
413 |
+
|
414 |
+
#: ../includes/class-ure-lib.php:1772
|
415 |
+
msgid "Error is encountered during new role create operation"
|
416 |
+
msgstr "Errore durante la creazione del nuovo ruolo"
|
417 |
+
|
418 |
+
#: ../includes/class-ure-lib.php:1774
|
419 |
+
#, php-format
|
420 |
+
msgid "Role %s is created successfully"
|
421 |
+
msgstr "Ruolo %s creato con successo"
|
422 |
+
|
423 |
+
#: ../includes/class-ure-lib.php:1798
|
424 |
+
msgid "Error: Role ID is empty!"
|
425 |
+
msgstr "Errore: ID Ruolo è vuoto!"
|
426 |
+
|
427 |
+
#: ../includes/class-ure-lib.php:1816
|
428 |
+
msgid "Error: Empty role display name is not allowed."
|
429 |
+
msgstr "Errore: non è ammesso che il nome visualizzato del Ruolo sia vuoto."
|
430 |
+
|
431 |
+
#: ../includes/class-ure-lib.php:1823
|
432 |
+
#, php-format
|
433 |
+
msgid "Role %s does not exists"
|
434 |
+
msgstr "Ruolo %s non esiste"
|
435 |
+
|
436 |
+
#: ../includes/class-ure-lib.php:1831
|
437 |
+
#, php-format
|
438 |
+
msgid "Role %s is renamed to %s successfully"
|
439 |
+
msgstr "Ruolo %s rinominato in %s con successo"
|
440 |
+
|
441 |
+
#: ../includes/class-ure-lib.php:1898
|
442 |
+
msgid "Error encountered during role delete operation"
|
443 |
+
msgstr "Errore durante la cancellazione del ruolo"
|
444 |
+
|
445 |
+
#: ../includes/class-ure-lib.php:1900
|
446 |
+
msgid "Unused roles are deleted successfully"
|
447 |
+
msgstr "I Ruoli inutilizzati sono stati cancellati"
|
448 |
+
|
449 |
+
#: ../includes/class-ure-lib.php:1902
|
450 |
+
#, php-format
|
451 |
+
msgid "Role %s is deleted successfully"
|
452 |
+
msgstr "Ruolo %s cancellato con successo"
|
453 |
+
|
454 |
+
#: ../includes/class-ure-lib.php:1927
|
455 |
+
msgid "Error encountered during default role change operation"
|
456 |
+
msgstr "Errore durante la variazione del ruolo di default"
|
457 |
+
|
458 |
+
#: ../includes/class-ure-lib.php:1933
|
459 |
+
#, php-format
|
460 |
+
msgid "Default role for new users is set to %s successfully"
|
461 |
+
msgstr "Ruolo di default per i nuovi utenti è stato cambiato a %s con successo"
|
462 |
+
|
463 |
+
#: ../includes/class-ure-lib.php:1952
|
464 |
+
msgid "Editor"
|
465 |
+
msgstr "Editor"
|
466 |
+
|
467 |
+
#: ../includes/class-ure-lib.php:1953
|
468 |
+
msgid "Author"
|
469 |
+
msgstr "Author"
|
470 |
+
|
471 |
+
#: ../includes/class-ure-lib.php:1954
|
472 |
+
msgid "Contributor"
|
473 |
+
msgstr "Contributor"
|
474 |
+
|
475 |
+
#: ../includes/class-ure-lib.php:1955
|
476 |
+
msgid "Subscriber"
|
477 |
+
msgstr "Subscriber"
|
478 |
+
|
479 |
+
#: ../includes/class-ure-lib.php:1957
|
480 |
+
msgid "Switch themes"
|
481 |
+
msgstr "Cambia temi"
|
482 |
+
|
483 |
+
#: ../includes/class-ure-lib.php:1958
|
484 |
+
msgid "Edit themes"
|
485 |
+
msgstr "Modifica temi"
|
486 |
+
|
487 |
+
#: ../includes/class-ure-lib.php:1959
|
488 |
+
msgid "Activate plugins"
|
489 |
+
msgstr "Attiva plugins"
|
490 |
+
|
491 |
+
#: ../includes/class-ure-lib.php:1960
|
492 |
+
msgid "Edit plugins"
|
493 |
+
msgstr "Edita plugins"
|
494 |
+
|
495 |
+
#: ../includes/class-ure-lib.php:1961
|
496 |
+
msgid "Edit users"
|
497 |
+
msgstr "Edita utenti"
|
498 |
+
|
499 |
+
#: ../includes/class-ure-lib.php:1962
|
500 |
+
msgid "Edit files"
|
501 |
+
msgstr "Edita files"
|
502 |
+
|
503 |
+
#: ../includes/class-ure-lib.php:1963
|
504 |
+
msgid "Manage options"
|
505 |
+
msgstr "Gestisci opzioni"
|
506 |
+
|
507 |
+
#: ../includes/class-ure-lib.php:1964
|
508 |
+
msgid "Moderate comments"
|
509 |
+
msgstr "Modera commenti"
|
510 |
+
|
511 |
+
#: ../includes/class-ure-lib.php:1965
|
512 |
+
msgid "Manage categories"
|
513 |
+
msgstr "Gestisci categorie"
|
514 |
+
|
515 |
+
#: ../includes/class-ure-lib.php:1966
|
516 |
+
msgid "Manage links"
|
517 |
+
msgstr "Gestisci links"
|
518 |
+
|
519 |
+
#: ../includes/class-ure-lib.php:1967
|
520 |
+
msgid "Upload files"
|
521 |
+
msgstr "Upload files"
|
522 |
+
|
523 |
+
#: ../includes/class-ure-lib.php:1968
|
524 |
+
msgid "Import"
|
525 |
+
msgstr "Importa"
|
526 |
+
|
527 |
+
#: ../includes/class-ure-lib.php:1969
|
528 |
+
msgid "Unfiltered html"
|
529 |
+
msgstr "Html non filtrato"
|
530 |
+
|
531 |
+
#: ../includes/class-ure-lib.php:1970
|
532 |
+
msgid "Edit posts"
|
533 |
+
msgstr "Edit posts"
|
534 |
+
|
535 |
+
#: ../includes/class-ure-lib.php:1971
|
536 |
+
msgid "Edit others posts"
|
537 |
+
msgstr "Edit altri posts"
|
538 |
+
|
539 |
+
#: ../includes/class-ure-lib.php:1972
|
540 |
+
msgid "Edit published posts"
|
541 |
+
msgstr "Edit posts pubblicati"
|
542 |
+
|
543 |
+
#: ../includes/class-ure-lib.php:1973
|
544 |
+
msgid "Publish posts"
|
545 |
+
msgstr "Pubblica posts"
|
546 |
+
|
547 |
+
#: ../includes/class-ure-lib.php:1974
|
548 |
+
msgid "Edit pages"
|
549 |
+
msgstr "Edit pagine"
|
550 |
+
|
551 |
+
#: ../includes/class-ure-lib.php:1975
|
552 |
+
msgid "Read"
|
553 |
+
msgstr "Read"
|
554 |
+
|
555 |
+
#: ../includes/class-ure-lib.php:1976
|
556 |
+
msgid "Level 10"
|
557 |
+
msgstr ""
|
558 |
+
|
559 |
+
#: ../includes/class-ure-lib.php:1977
|
560 |
+
msgid "Level 9"
|
561 |
+
msgstr ""
|
562 |
+
|
563 |
+
#: ../includes/class-ure-lib.php:1978
|
564 |
+
msgid "Level 8"
|
565 |
+
msgstr ""
|
566 |
+
|
567 |
+
#: ../includes/class-ure-lib.php:1979
|
568 |
+
msgid "Level 7"
|
569 |
+
msgstr ""
|
570 |
+
|
571 |
+
#: ../includes/class-ure-lib.php:1980
|
572 |
+
msgid "Level 6"
|
573 |
+
msgstr ""
|
574 |
+
|
575 |
+
#: ../includes/class-ure-lib.php:1981
|
576 |
+
msgid "Level 5"
|
577 |
+
msgstr ""
|
578 |
+
|
579 |
+
#: ../includes/class-ure-lib.php:1982
|
580 |
+
msgid "Level 4"
|
581 |
+
msgstr ""
|
582 |
+
|
583 |
+
#: ../includes/class-ure-lib.php:1983
|
584 |
+
msgid "Level 3"
|
585 |
+
msgstr ""
|
586 |
+
|
587 |
+
#: ../includes/class-ure-lib.php:1984
|
588 |
+
msgid "Level 2"
|
589 |
+
msgstr ""
|
590 |
+
|
591 |
+
#: ../includes/class-ure-lib.php:1985
|
592 |
+
msgid "Level 1"
|
593 |
+
msgstr ""
|
594 |
+
|
595 |
+
#: ../includes/class-ure-lib.php:1986
|
596 |
+
msgid "Level 0"
|
597 |
+
msgstr ""
|
598 |
+
|
599 |
+
#: ../includes/class-ure-lib.php:1987
|
600 |
+
msgid "Edit others pages"
|
601 |
+
msgstr "Edit altre pagine"
|
602 |
+
|
603 |
+
#: ../includes/class-ure-lib.php:1988
|
604 |
+
msgid "Edit published pages"
|
605 |
+
msgstr "Edit pagine pubblicate"
|
606 |
+
|
607 |
+
#: ../includes/class-ure-lib.php:1989
|
608 |
+
msgid "Publish pages"
|
609 |
+
msgstr "Pubblica pagine"
|
610 |
+
|
611 |
+
#: ../includes/class-ure-lib.php:1990
|
612 |
+
msgid "Delete pages"
|
613 |
+
msgstr "Cancella pagine"
|
614 |
+
|
615 |
+
#: ../includes/class-ure-lib.php:1991
|
616 |
+
msgid "Delete others pages"
|
617 |
+
msgstr "Cancella altre pagine"
|
618 |
+
|
619 |
+
#: ../includes/class-ure-lib.php:1992
|
620 |
+
msgid "Delete published pages"
|
621 |
+
msgstr "Cancella pagine pubblicate"
|
622 |
+
|
623 |
+
#: ../includes/class-ure-lib.php:1993
|
624 |
+
msgid "Delete posts"
|
625 |
+
msgstr "Cancella posts"
|
626 |
+
|
627 |
+
#: ../includes/class-ure-lib.php:1994
|
628 |
+
msgid "Delete others posts"
|
629 |
+
msgstr "Cancella altri posts"
|
630 |
+
|
631 |
+
#: ../includes/class-ure-lib.php:1995
|
632 |
+
msgid "Delete published posts"
|
633 |
+
msgstr "Cancella i posts pubblicati"
|
634 |
+
|
635 |
+
#: ../includes/class-ure-lib.php:1996
|
636 |
+
msgid "Delete private posts"
|
637 |
+
msgstr "Cancella posts privati"
|
638 |
+
|
639 |
+
#: ../includes/class-ure-lib.php:1997
|
640 |
+
msgid "Edit private posts"
|
641 |
+
msgstr "Edit posts privati"
|
642 |
+
|
643 |
+
#: ../includes/class-ure-lib.php:1998
|
644 |
+
msgid "Read private posts"
|
645 |
+
msgstr "Leggi posts privati"
|
646 |
+
|
647 |
+
#: ../includes/class-ure-lib.php:1999
|
648 |
+
msgid "Delete private pages"
|
649 |
+
msgstr "Cancella pagine private"
|
650 |
+
|
651 |
+
#: ../includes/class-ure-lib.php:2000
|
652 |
+
msgid "Edit private pages"
|
653 |
+
msgstr "Edit pagine private"
|
654 |
+
|
655 |
+
#: ../includes/class-ure-lib.php:2001
|
656 |
+
msgid "Read private pages"
|
657 |
+
msgstr "Legge pagine private"
|
658 |
+
|
659 |
+
#: ../includes/class-ure-lib.php:2002
|
660 |
+
msgid "Delete users"
|
661 |
+
msgstr "Cancella utenti"
|
662 |
+
|
663 |
+
#: ../includes/class-ure-lib.php:2003
|
664 |
+
msgid "Create users"
|
665 |
+
msgstr "Crea utenti"
|
666 |
+
|
667 |
+
#: ../includes/class-ure-lib.php:2004
|
668 |
+
msgid "Unfiltered upload"
|
669 |
+
msgstr "Uploads non filtrati"
|
670 |
+
|
671 |
+
#: ../includes/class-ure-lib.php:2005
|
672 |
+
msgid "Edit dashboard"
|
673 |
+
msgstr "Edit dashboard"
|
674 |
+
|
675 |
+
#: ../includes/class-ure-lib.php:2006
|
676 |
+
msgid "Update plugins"
|
677 |
+
msgstr "Aggiorna plugins"
|
678 |
+
|
679 |
+
#: ../includes/class-ure-lib.php:2007
|
680 |
+
msgid "Delete plugins"
|
681 |
+
msgstr "Cancella plugins"
|
682 |
+
|
683 |
+
#: ../includes/class-ure-lib.php:2008
|
684 |
+
msgid "Install plugins"
|
685 |
+
msgstr "Installa plugins"
|
686 |
+
|
687 |
+
#: ../includes/class-ure-lib.php:2009
|
688 |
+
msgid "Update themes"
|
689 |
+
msgstr "Aggiorna temi"
|
690 |
+
|
691 |
+
#: ../includes/class-ure-lib.php:2010
|
692 |
+
msgid "Install themes"
|
693 |
+
msgstr "Installa temi"
|
694 |
+
|
695 |
+
#: ../includes/class-ure-lib.php:2011
|
696 |
+
msgid "Update core"
|
697 |
+
msgstr "Aggiorna nucleo"
|
698 |
+
|
699 |
+
#: ../includes/class-ure-lib.php:2012
|
700 |
+
msgid "List users"
|
701 |
+
msgstr "Lista utenti"
|
702 |
+
|
703 |
+
#: ../includes/class-ure-lib.php:2013
|
704 |
+
msgid "Remove users"
|
705 |
+
msgstr "Rimuovi utenti"
|
706 |
+
|
707 |
+
#: ../includes/class-ure-lib.php:2014
|
708 |
+
msgid "Add users"
|
709 |
+
msgstr "Aggiungi utenti"
|
710 |
+
|
711 |
+
#: ../includes/class-ure-lib.php:2015
|
712 |
+
msgid "Promote users"
|
713 |
+
msgstr "Promuovi utenti"
|
714 |
+
|
715 |
+
#: ../includes/class-ure-lib.php:2016
|
716 |
+
msgid "Edit theme options"
|
717 |
+
msgstr "Edit opzioni tema"
|
718 |
+
|
719 |
+
#: ../includes/class-ure-lib.php:2017
|
720 |
+
msgid "Delete themes"
|
721 |
+
msgstr "Cancella temi"
|
722 |
+
|
723 |
+
#: ../includes/class-ure-lib.php:2018
|
724 |
+
msgid "Export"
|
725 |
+
msgstr "Esporta"
|
726 |
+
|
727 |
+
#: ../includes/class-ure-lib.php:2128
|
728 |
+
msgid "Error: Capability name must contain latin characters and digits only!"
|
729 |
+
msgstr ""
|
730 |
+
"Errore: nome funzionalità deve contenere solo caratteri latini o numeri!"
|
731 |
+
|
732 |
+
#: ../includes/class-ure-lib.php:2141
|
733 |
+
#, php-format
|
734 |
+
msgid "Capability %s is added successfully"
|
735 |
+
msgstr "Funzionalità %s aggiunta!"
|
736 |
+
|
737 |
+
#: ../includes/class-ure-lib.php:2143
|
738 |
+
#, php-format
|
739 |
+
msgid "Capability %s exists already"
|
740 |
+
msgstr "Funzionalità %s già esiste"
|
741 |
+
|
742 |
+
#: ../includes/class-ure-lib.php:2168
|
743 |
+
#, php-format
|
744 |
+
msgid "Error! You do not have permission to delete this capability: %s!"
|
745 |
+
msgstr "Errore! Non hai permessi per cancellare questa funzionalità: %s!"
|
746 |
+
|
747 |
+
#: ../includes/class-ure-lib.php:2187
|
748 |
+
#, php-format
|
749 |
+
msgid "Capability %s is removed successfully"
|
750 |
+
msgstr "Funzionalità %s rimossa con successo"
|
751 |
+
|
752 |
+
#: ../includes/class-ure-lib.php:2291
|
753 |
+
msgid "Version:"
|
754 |
+
msgstr "Versione:"
|
755 |
+
|
756 |
+
#: ../includes/class-ure-lib.php:2292
|
757 |
+
msgid "Author's website"
|
758 |
+
msgstr "Sito web dell'autore"
|
759 |
+
|
760 |
+
#: ../includes/class-ure-lib.php:2293
|
761 |
+
msgid "Plugin webpage"
|
762 |
+
msgstr "Webpabe plugin"
|
763 |
+
|
764 |
+
#: ../includes/class-ure-lib.php:2294
|
765 |
+
msgid "Plugin download"
|
766 |
+
msgstr "Download plugin"
|
767 |
+
|
768 |
+
#: ../includes/class-ure-lib.php:2296
|
769 |
+
msgid "FAQ"
|
770 |
+
msgstr "FAQ"
|
771 |
+
|
772 |
+
#: ../includes/class-ure-lib.php:2344
|
773 |
+
msgid "None"
|
774 |
+
msgstr "Nessuno"
|
775 |
+
|
776 |
+
#: ../includes/class-ure-lib.php:2371
|
777 |
+
msgid "Delete All Unused Roles"
|
778 |
+
msgstr "Cancella tutti i Ruoli inutilizzati"
|
779 |
+
|
780 |
+
#: ../includes/class-ure-lib.php:2395
|
781 |
+
msgid "— No role for this site —"
|
782 |
+
msgstr "— Nessun ruolo per questo sito —"
|
783 |
+
|
784 |
+
#: ../includes/ure-user-edit.php:31
|
785 |
+
msgid "Network Super Admin"
|
786 |
+
msgstr "Super Admin Network"
|
787 |
+
|
788 |
+
#: ../includes/ure-user-edit.php:34
|
789 |
+
msgid "Change capabilities for user"
|
790 |
+
msgstr "Cambia funzionalità per l'utente"
|
791 |
+
|
792 |
+
#: ../includes/ure-user-edit.php:71
|
793 |
+
msgid "Primary Role:"
|
794 |
+
msgstr "Ruolo primario:"
|
795 |
+
|
796 |
+
#: ../includes/ure-user-edit.php:81
|
797 |
+
msgid "bbPress Role:"
|
798 |
+
msgstr "Ruolo bbPress:"
|
799 |
+
|
800 |
+
#: ../includes/ure-user-edit.php:91
|
801 |
+
msgid "Other Roles:"
|
802 |
+
msgstr "Altri Ruoli:"
|
803 |
+
|
804 |
+
#: ../includes/class-ure-screen-help.php:16
|
805 |
+
msgid ""
|
806 |
+
"turn this option on in order to make the \"Administrator\" role available at "
|
807 |
+
"the User Role Editor roles selection drop-down list. It is hidden by default "
|
808 |
+
"for security reasons."
|
809 |
+
msgstr ""
|
810 |
+
"seleziona questa opzione per rendere il ruolo \"Amministratore\" disponibile "
|
811 |
+
"nella selezione dropdown dell'Editor Ruolo Utenti. Esso è nascosto di "
|
812 |
+
"default per ragioni di sicurezza."
|
813 |
+
|
814 |
+
#: ../includes/class-ure-screen-help.php:19
|
815 |
+
msgid ""
|
816 |
+
"automatically converts capability names from the technical form for internal "
|
817 |
+
"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit "
|
818 |
+
"others posts\"."
|
819 |
+
msgstr ""
|
820 |
+
"converte automaticamente i nomi delle funzionalità dalla forma tecnica per "
|
821 |
+
"uso interno tipo \"edit_others_posts\" in una forma più amichevole, tipo "
|
822 |
+
"\"Edita altri posts\"."
|
823 |
+
|
824 |
+
#: ../includes/class-ure-screen-help.php:22
|
825 |
+
msgid ""
|
826 |
+
"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used "
|
827 |
+
"by WordPress. They are left at the user roles for the compatibility purpose "
|
828 |
+
"with the old themes and plugins code. Turning on this option will show those "
|
829 |
+
"deprecated capabilities."
|
830 |
+
msgstr ""
|
831 |
+
"Le Funzionalità tipo \"level_1\" sono sorpassate e non usate da WordPress. "
|
832 |
+
"Sono state abbandonate nei ruoli utente per scopi di compatibilità con i "
|
833 |
+
"vecchi temi e codici plugins. Selezionando questa opzione saranno "
|
834 |
+
"visualizzate queste funzionalità sorpassate."
|
835 |
+
|
836 |
+
#: ../includes/class-ure-screen-help.php:42
|
837 |
+
msgid ""
|
838 |
+
"Show at the \"Users\" page a quant of users without role. Module allows to "
|
839 |
+
"assign all of them an empty role \"No rights\", in order to look on the "
|
840 |
+
"users list with role \"No rights\" at the separate tab then."
|
841 |
+
msgstr ""
|
842 |
+
"Mostra nella pagina \"Utenti\" quanti sono senza ruolo. Il modulo consente "
|
843 |
+
"di assegnare a tutti costoro un ruolo vuoto \"Nessun diritto\", per bloccare "
|
844 |
+
"la lista utenti sul ruolo \"Nessun diritto\" in una tabella separata."
|
845 |
+
|
846 |
+
#: ../includes/class-ure-screen-help.php:59
|
847 |
+
msgid "Other default roles for new registered user"
|
848 |
+
msgstr "Altri ruoli di default per i nuovi utenti registrati"
|
849 |
+
|
850 |
+
#: ../includes/class-ure-screen-help.php:60
|
851 |
+
msgid ""
|
852 |
+
"select roles below to assign them to the new user automatically as an "
|
853 |
+
"addition to the primary role. Note for multisite environment: take into "
|
854 |
+
"account that other default roles should exist at the site, in order to be "
|
855 |
+
"assigned to the new registered users."
|
856 |
+
msgstr ""
|
857 |
+
"seleziona i ruoli di seguito per assegnarli automaticamente al nuovo utente "
|
858 |
+
"in aggiunta al ruolo primario. Nota per l'ambiente multisite: tieni presente "
|
859 |
+
"il fatto che gli altri ruoli predefiniti dovrebbero esistere sul sito, in "
|
860 |
+
"modo da assegnarli ai nuovi utenti registrati."
|
861 |
+
|
862 |
+
#: ../includes/class-ure-screen-help.php:78
|
863 |
+
msgid "Allow non super-admininstrators to create, edit and delete users"
|
864 |
+
msgstr ""
|
865 |
+
"Permetti ad un non super-amministratore di creare, modificare e cancellare "
|
866 |
+
"utenti"
|
867 |
+
|
868 |
+
#: ../includes/class-ure-screen-help.php:79
|
869 |
+
msgid ""
|
870 |
+
"Super administrator only may create, edit and delete users under WordPress "
|
871 |
+
"multi-site by default. Turn this option on in order to remove this "
|
872 |
+
"limitation."
|
873 |
+
msgstr ""
|
874 |
+
"Solo il super-amministratore può creare, modificare e cancellare gli utenti "
|
875 |
+
"in ambiente multisito WordPress di default. Seleziona questa opzione per "
|
876 |
+
"rimuovere questa limitazione."
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: shinephp
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladimir%40shinephp%2ecom&lc=RU&item_name=ShinePHP%2ecom&item_number=User%20Role%20Editor%20WordPress%20plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
4 |
Tags: user, role, editor, security, access, permission, capability
|
5 |
-
Requires at least:
|
6 |
-
Tested up to: 4.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -73,6 +73,7 @@ To read more about 'User Role Editor' visit [this page](http://www.shinephp.com/
|
|
73 |
* French: [Transifex](https://www.transifex.com);
|
74 |
* Hebrew: [atar4u](http://atar4u.com) - needs update;
|
75 |
* Hungarian: Németh Balázs;
|
|
|
76 |
* Persian: Morteza - needs update;
|
77 |
* Russian: [Vladimir Garagulya](https://www.role-editor.com)
|
78 |
* Spanish: [Dario Ferrer](http://darioferrer.com/) - needs update;
|
@@ -85,6 +86,14 @@ Some translations may be outdated. If you have better translation for some phras
|
|
85 |
|
86 |
|
87 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
= 4.17.3 =
|
89 |
* 23.11.2014
|
90 |
* French and Turkish translation were updated. Thanks to [Transifex](https://www.transifex.com) translation team.
|
2 |
Contributors: shinephp
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladimir%40shinephp%2ecom&lc=RU&item_name=ShinePHP%2ecom&item_number=User%20Role%20Editor%20WordPress%20plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
4 |
Tags: user, role, editor, security, access, permission, capability
|
5 |
+
Requires at least: 4.0
|
6 |
+
Tested up to: 4.1
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
73 |
* French: [Transifex](https://www.transifex.com);
|
74 |
* Hebrew: [atar4u](http://atar4u.com) - needs update;
|
75 |
* Hungarian: Németh Balázs;
|
76 |
+
* Italian: [Giuseppe Velardo](http://www.comprensivoleopardi.gov.it/);
|
77 |
* Persian: Morteza - needs update;
|
78 |
* Russian: [Vladimir Garagulya](https://www.role-editor.com)
|
79 |
* Spanish: [Dario Ferrer](http://darioferrer.com/) - needs update;
|
86 |
|
87 |
|
88 |
== Changelog ==
|
89 |
+
|
90 |
+
= 4.18 =
|
91 |
+
* 14.12.2014
|
92 |
+
* Own custom user capabilities, e.g. 'ure_edit_roles' are used to restrict access to User Role Editor functionality ([read more](https://www.role-editor.com/user-role-editor-4-18-new-permissions/)).
|
93 |
+
* Multisite: You may allow to the users without superadmin privileges to add/create site users without sending them email confirmation request.
|
94 |
+
* Bug fix: when non-admin user updated other user profile, that user lost secondary roles.
|
95 |
+
* Italian translation was added. Thanks to [Giuseppe Velardo](http://www.comprensivoleopardi.gov.it/).
|
96 |
+
|
97 |
= 4.17.3 =
|
98 |
* 23.11.2014
|
99 |
* French and Turkish translation were updated. Thanks to [Transifex](https://www.transifex.com) translation team.
|
user-role-editor.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: User Role Editor
|
4 |
Plugin URI: http://role-editor.com
|
5 |
Description: Change/add/delete WordPress user roles and capabilities.
|
6 |
-
Version: 4.
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: http://www.shinephp.com
|
9 |
Text Domain: ure
|
@@ -23,7 +23,7 @@ if (defined('URE_PLUGIN_URL')) {
|
|
23 |
wp_die('It seems that other version of User Role Editor is active. Please deactivate it before use this version');
|
24 |
}
|
25 |
|
26 |
-
define('URE_VERSION', '4.
|
27 |
define('URE_PLUGIN_URL', plugin_dir_url(__FILE__));
|
28 |
define('URE_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
29 |
define('URE_PLUGIN_BASE_NAME', plugin_basename(__FILE__));
|
3 |
Plugin Name: User Role Editor
|
4 |
Plugin URI: http://role-editor.com
|
5 |
Description: Change/add/delete WordPress user roles and capabilities.
|
6 |
+
Version: 4.18
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: http://www.shinephp.com
|
9 |
Text Domain: ure
|
23 |
wp_die('It seems that other version of User Role Editor is active. Please deactivate it before use this version');
|
24 |
}
|
25 |
|
26 |
+
define('URE_VERSION', '4.18');
|
27 |
define('URE_PLUGIN_URL', plugin_dir_url(__FILE__));
|
28 |
define('URE_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
29 |
define('URE_PLUGIN_BASE_NAME', plugin_basename(__FILE__));
|