Version Description
Download this release
Release Info
Developer | shinephp |
Plugin | User Role Editor |
Version | 4.59.1 |
Comparing to | |
See all releases |
Code changes from version 4.59 to 4.59.1
- includes/classes/editor.php +50 -7
- includes/classes/lib.php +3 -0
- includes/classes/user-other-roles.php +54 -17
- includes/classes/user-role-editor.php +19 -3
- js/ure.js +11 -12
- lang/user-role-editor.pot +166 -166
- readme.txt +9 -2
- user-role-editor.php +2 -2
includes/classes/editor.php
CHANGED
@@ -450,6 +450,34 @@ class URE_Editor {
|
|
450 |
return true;
|
451 |
}
|
452 |
// end of save_roles()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
453 |
|
454 |
|
455 |
/**
|
@@ -477,16 +505,31 @@ class URE_Editor {
|
|
477 |
|
478 |
$serialized_roles = serialize( $this->roles );
|
479 |
$blog_ids = $this->lib->get_blog_ids();
|
480 |
-
|
481 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
482 |
$options_table_name = $prefix . 'options';
|
483 |
$option_name = $prefix . 'user_roles';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
484 |
$query = "UPDATE {$options_table_name}
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
$wpdb->query($query);
|
489 |
-
if ($wpdb->last_error) {
|
490 |
return false;
|
491 |
}
|
492 |
// @TODO: save role additional options
|
450 |
return true;
|
451 |
}
|
452 |
// end of save_roles()
|
453 |
+
|
454 |
+
|
455 |
+
protected function leave_roles_for_blog( $blog_id, $leave_roles ) {
|
456 |
+
global $wpdb;
|
457 |
+
|
458 |
+
$prefix = $wpdb->get_blog_prefix( $blog_id );
|
459 |
+
$options_table_name = $prefix . 'options';
|
460 |
+
$option_name = $prefix . 'user_roles';
|
461 |
+
|
462 |
+
$query = "SELECT option_value
|
463 |
+
FROM {$options_table_name}
|
464 |
+
WHERE option_name='$option_name'
|
465 |
+
LIMIT 1";
|
466 |
+
$value = $wpdb->get_var( $query );
|
467 |
+
if ( empty( $value ) ) {
|
468 |
+
return $this->roles;
|
469 |
+
}
|
470 |
+
$blog_roles = unserialize( $value );
|
471 |
+
|
472 |
+
$roles = $this->roles;
|
473 |
+
foreach( $leave_roles as $role_id ) {
|
474 |
+
$roles[$role_id] = $blog_roles[$role_id];
|
475 |
+
}
|
476 |
+
$serialized_roles = serialize( $roles );
|
477 |
+
|
478 |
+
return $serialized_roles;
|
479 |
+
}
|
480 |
+
// end of leave_roles_for_blog()
|
481 |
|
482 |
|
483 |
/**
|
505 |
|
506 |
$serialized_roles = serialize( $this->roles );
|
507 |
$blog_ids = $this->lib->get_blog_ids();
|
508 |
+
/*
|
509 |
+
* Roles to leave unchanged during network update which overwrites all roles by default
|
510 |
+
* $leave_roles = array( blog_id => array('role_id1', 'role_id2', ... );
|
511 |
+
*/
|
512 |
+
$leave_roles = apply_filters('ure_network_update_leave_roles', array(), 10, 1 );
|
513 |
+
if ( empty( $leave_roles ) || !is_array( $leave_roles ) ) {
|
514 |
+
$leave_roles = array();
|
515 |
+
}
|
516 |
+
foreach ( $blog_ids as $blog_id ) {
|
517 |
+
$prefix = $wpdb->get_blog_prefix( $blog_id );
|
518 |
$options_table_name = $prefix . 'options';
|
519 |
$option_name = $prefix . 'user_roles';
|
520 |
+
if ( !isset( $leave_roles[$blog_id] ) ) {
|
521 |
+
// overwrites all roles
|
522 |
+
$roles = $serialized_roles;
|
523 |
+
} else {
|
524 |
+
// overwrite except roles you have to leave untouched for this blog
|
525 |
+
$roles = $this->leave_roles_for_blog( $blog_id, $leave_roles[$blog_id] );
|
526 |
+
}
|
527 |
$query = "UPDATE {$options_table_name}
|
528 |
+
SET option_value='$roles'
|
529 |
+
WHERE option_name='$option_name'
|
530 |
+
LIMIT 1";
|
531 |
+
$wpdb->query( $query );
|
532 |
+
if ( $wpdb->last_error ) {
|
533 |
return false;
|
534 |
}
|
535 |
// @TODO: save role additional options
|
includes/classes/lib.php
CHANGED
@@ -25,6 +25,9 @@ class URE_Lib extends URE_Base_Lib {
|
|
25 |
// when we raise single site admin permissions up to the superadmin for the 'Add new user' new-user.php page
|
26 |
// User_Role_Editor::allow_add_user_as_superadmin()
|
27 |
protected $raised_permissions = false;
|
|
|
|
|
|
|
28 |
|
29 |
protected $debug = false;
|
30 |
|
25 |
// when we raise single site admin permissions up to the superadmin for the 'Add new user' new-user.php page
|
26 |
// User_Role_Editor::allow_add_user_as_superadmin()
|
27 |
protected $raised_permissions = false;
|
28 |
+
|
29 |
+
// roles sorting order: false - do not sort, 'id' - by role ID, 'name' - by role name
|
30 |
+
protected $roles_sorting_order = false;
|
31 |
|
32 |
protected $debug = false;
|
33 |
|
includes/classes/user-other-roles.php
CHANGED
@@ -18,21 +18,21 @@ class URE_User_Other_Roles {
|
|
18 |
|
19 |
$this->lib = URE_Lib::get_instance();
|
20 |
$this->set_hooks();
|
|
|
21 |
}
|
22 |
// end of $lib
|
23 |
|
24 |
|
25 |
public function set_hooks() {
|
26 |
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
}
|
36 |
$multisite = $this->lib->get('multisite');
|
37 |
if ($multisite) {
|
38 |
add_action( 'wpmu_activate_user', array($this, 'add_other_roles'), 10, 1 );
|
@@ -44,7 +44,17 @@ class URE_User_Other_Roles {
|
|
44 |
// end of set_hooks()
|
45 |
|
46 |
|
47 |
-
public function additional_capabilities_display($display) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
$display = false;
|
50 |
|
@@ -59,6 +69,15 @@ class URE_User_Other_Roles {
|
|
59 |
*/
|
60 |
public function load_css() {
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
if ( defined('WP_DEBUG') && !empty( WP_DEBUG ) ) {
|
63 |
$file_name = 'multiple-select.css';
|
64 |
} else {
|
@@ -74,10 +93,19 @@ class URE_User_Other_Roles {
|
|
74 |
|
75 |
public function load_js($hook_suffix) {
|
76 |
|
77 |
-
if (!in_array($hook_suffix, array('user-edit.php', 'user-new.php'))) {
|
|
|
|
|
|
|
|
|
|
|
78 |
return;
|
79 |
}
|
80 |
|
|
|
|
|
|
|
|
|
81 |
if ( defined('WP_DEBUG') && !empty( WP_DEBUG ) ) {
|
82 |
$ms_file_name = 'multiple-select.js';
|
83 |
} else {
|
@@ -199,12 +227,11 @@ class URE_User_Other_Roles {
|
|
199 |
}
|
200 |
// end of get_user_caps_str()
|
201 |
|
202 |
-
|
203 |
-
|
204 |
private function user_profile_capabilities($user) {
|
205 |
|
206 |
$current_user_id = get_current_user_id();
|
207 |
-
$user_caps = $this->get_user_caps_str($user);
|
208 |
?>
|
209 |
<tr>
|
210 |
<th>
|
@@ -213,7 +240,7 @@ class URE_User_Other_Roles {
|
|
213 |
<td>
|
214 |
<?php
|
215 |
echo $user_caps .'<br/>';
|
216 |
-
if ($this->lib->user_is_admin($current_user_id)) {
|
217 |
echo '<a href="' . wp_nonce_url("users.php?page=users-".URE_PLUGIN_FILE."&object=user&user_id={$user->ID}", "ure_user_{$user->ID}") . '">' .
|
218 |
esc_html__('Edit', 'user-role-editor') . '</a>';
|
219 |
}
|
@@ -268,10 +295,16 @@ class URE_User_Other_Roles {
|
|
268 |
if (!$this->is_user_profile_extention_allowed()) {
|
269 |
return;
|
270 |
}
|
|
|
271 |
$show = apply_filters('ure_show_additional_capabilities_section', true);
|
272 |
if (empty($show)) {
|
273 |
return;
|
274 |
}
|
|
|
|
|
|
|
|
|
|
|
275 |
?>
|
276 |
<h3><?php esc_html_e('Additional Capabilities', 'user-role-editor'); ?></h3>
|
277 |
<?php
|
@@ -285,6 +318,10 @@ class URE_User_Other_Roles {
|
|
285 |
if (empty($show)) {
|
286 |
return;
|
287 |
}
|
|
|
|
|
|
|
|
|
288 |
|
289 |
$user = new WP_User();
|
290 |
?>
|
@@ -304,8 +341,8 @@ class URE_User_Other_Roles {
|
|
304 |
*/
|
305 |
public function update( $user_id ) {
|
306 |
|
307 |
-
if ( !current_user_can('
|
308 |
-
return -1; // No permissions to
|
309 |
}
|
310 |
if ( !current_user_can('edit_user', $user_id) ) {
|
311 |
return -1; // No permissions to edit this user
|
18 |
|
19 |
$this->lib = URE_Lib::get_instance();
|
20 |
$this->set_hooks();
|
21 |
+
|
22 |
}
|
23 |
// end of $lib
|
24 |
|
25 |
|
26 |
public function set_hooks() {
|
27 |
|
28 |
+
add_filter( 'additional_capabilities_display', array($this, 'additional_capabilities_display'), 10, 1);
|
29 |
+
add_action( 'admin_print_styles-user-edit.php', array($this, 'load_css') );
|
30 |
+
add_action( 'admin_print_styles-user-new.php', array($this, 'load_css') );
|
31 |
+
add_action( 'admin_enqueue_scripts', array($this, 'load_js' ) );
|
32 |
+
add_action( 'edit_user_profile', array($this, 'edit_user_profile_html'), 10, 1 );
|
33 |
+
add_action( 'user_new_form', array($this, 'user_new_form'), 10, 1 );
|
34 |
+
add_action( 'profile_update', array($this, 'update'), 10 );
|
35 |
+
|
|
|
36 |
$multisite = $this->lib->get('multisite');
|
37 |
if ($multisite) {
|
38 |
add_action( 'wpmu_activate_user', array($this, 'add_other_roles'), 10, 1 );
|
44 |
// end of set_hooks()
|
45 |
|
46 |
|
47 |
+
public function additional_capabilities_display( $display ) {
|
48 |
+
|
49 |
+
$show = apply_filters('ure_show_additional_capabilities_section', true);
|
50 |
+
if ( empty( $show ) ) {
|
51 |
+
return $display;
|
52 |
+
}
|
53 |
+
|
54 |
+
|
55 |
+
if ( !current_user_can('promote_users') ) {
|
56 |
+
return $display; // No permissions to promote users
|
57 |
+
}
|
58 |
|
59 |
$display = false;
|
60 |
|
69 |
*/
|
70 |
public function load_css() {
|
71 |
|
72 |
+
$show = apply_filters('ure_show_additional_capabilities_section', true );
|
73 |
+
if ( empty( $show ) ) {
|
74 |
+
return;
|
75 |
+
}
|
76 |
+
|
77 |
+
if ( !current_user_can('promote_users') ) {
|
78 |
+
return; // No permissions to promote users
|
79 |
+
}
|
80 |
+
|
81 |
if ( defined('WP_DEBUG') && !empty( WP_DEBUG ) ) {
|
82 |
$file_name = 'multiple-select.css';
|
83 |
} else {
|
93 |
|
94 |
public function load_js($hook_suffix) {
|
95 |
|
96 |
+
if ( !in_array( $hook_suffix, array('user-edit.php', 'user-new.php') ) ) {
|
97 |
+
return;
|
98 |
+
}
|
99 |
+
|
100 |
+
$show = apply_filters('ure_show_additional_capabilities_section', true );
|
101 |
+
if ( empty( $show ) ) {
|
102 |
return;
|
103 |
}
|
104 |
|
105 |
+
if ( !current_user_can('promote_users') ) {
|
106 |
+
return; // No permissions to promote users
|
107 |
+
}
|
108 |
+
|
109 |
if ( defined('WP_DEBUG') && !empty( WP_DEBUG ) ) {
|
110 |
$ms_file_name = 'multiple-select.js';
|
111 |
} else {
|
227 |
}
|
228 |
// end of get_user_caps_str()
|
229 |
|
230 |
+
|
|
|
231 |
private function user_profile_capabilities($user) {
|
232 |
|
233 |
$current_user_id = get_current_user_id();
|
234 |
+
$user_caps = $this->get_user_caps_str( $user );
|
235 |
?>
|
236 |
<tr>
|
237 |
<th>
|
240 |
<td>
|
241 |
<?php
|
242 |
echo $user_caps .'<br/>';
|
243 |
+
if ($this->lib->user_is_admin( $current_user_id ) ) {
|
244 |
echo '<a href="' . wp_nonce_url("users.php?page=users-".URE_PLUGIN_FILE."&object=user&user_id={$user->ID}", "ure_user_{$user->ID}") . '">' .
|
245 |
esc_html__('Edit', 'user-role-editor') . '</a>';
|
246 |
}
|
295 |
if (!$this->is_user_profile_extention_allowed()) {
|
296 |
return;
|
297 |
}
|
298 |
+
|
299 |
$show = apply_filters('ure_show_additional_capabilities_section', true);
|
300 |
if (empty($show)) {
|
301 |
return;
|
302 |
}
|
303 |
+
|
304 |
+
if ( !current_user_can('promote_users') ) {
|
305 |
+
return; // No permissions to promote users
|
306 |
+
}
|
307 |
+
|
308 |
?>
|
309 |
<h3><?php esc_html_e('Additional Capabilities', 'user-role-editor'); ?></h3>
|
310 |
<?php
|
318 |
if (empty($show)) {
|
319 |
return;
|
320 |
}
|
321 |
+
|
322 |
+
if ( !current_user_can('promote_users') ) {
|
323 |
+
return; // No permissions to promote users
|
324 |
+
}
|
325 |
|
326 |
$user = new WP_User();
|
327 |
?>
|
341 |
*/
|
342 |
public function update( $user_id ) {
|
343 |
|
344 |
+
if ( !current_user_can('promote_users') ) {
|
345 |
+
return -1; // No permissions to promote users
|
346 |
}
|
347 |
if ( !current_user_can('edit_user', $user_id) ) {
|
348 |
return -1; // No permissions to edit this user
|
includes/classes/user-role-editor.php
CHANGED
@@ -210,8 +210,14 @@ class User_Role_Editor {
|
|
210 |
|
211 |
add_action('wp_ajax_ure_ajax', array($this, 'ure_ajax'));
|
212 |
|
213 |
-
$
|
214 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
add_filter( 'editable_roles', array( $this, 'sort_wp_roles_list' ), 11, 1 );
|
216 |
}
|
217 |
}
|
@@ -842,7 +848,17 @@ class User_Role_Editor {
|
|
842 |
*/
|
843 |
public function sort_wp_roles_list( $roles ) {
|
844 |
|
845 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
846 |
// wp-admin/includes/template/wp_dropdown_roles() showed roles in reversed order, #906:
|
847 |
// $editable_roles = array_reverse( get_editable_roles() );
|
848 |
// so we have to reverse them 1st, in order they will be reversed back to the ascending order
|
210 |
|
211 |
add_action('wp_ajax_ure_ajax', array($this, 'ure_ajax'));
|
212 |
|
213 |
+
// Input parameter $roles_sorting_order = false by default
|
214 |
+
// Acceptable values:
|
215 |
+
// true - sort by role ID (for backward compatibility),
|
216 |
+
// 'id' - sort roles by role ID,
|
217 |
+
// 'name' - sort roles by role name.
|
218 |
+
$roles_sorting_order = apply_filters( 'ure_sort_wp_roles_list', false);
|
219 |
+
if ( !empty( $roles_sorting_order ) ) {
|
220 |
+
$this->lib->set('roles_sorting_order', $roles_sorting_order );
|
221 |
add_filter( 'editable_roles', array( $this, 'sort_wp_roles_list' ), 11, 1 );
|
222 |
}
|
223 |
}
|
848 |
*/
|
849 |
public function sort_wp_roles_list( $roles ) {
|
850 |
|
851 |
+
$roles_sorting_order = $this->lib->get('roles_sorting_order');
|
852 |
+
if ( $roles_sorting_order==='id' || $roles_sorting_order===true ) {
|
853 |
+
// sort by role ID
|
854 |
+
ksort( $roles );
|
855 |
+
} else if ( $roles_sorting_order==='name') {
|
856 |
+
// sort by role name
|
857 |
+
asort( $roles );
|
858 |
+
} else {
|
859 |
+
// change nothing
|
860 |
+
return $roles;
|
861 |
+
}
|
862 |
// wp-admin/includes/template/wp_dropdown_roles() showed roles in reversed order, #906:
|
863 |
// $editable_roles = array_reverse( get_editable_roles() );
|
864 |
// so we have to reverse them 1st, in order they will be reversed back to the ascending order
|
js/ure.js
CHANGED
@@ -222,18 +222,17 @@ var ure_main = {
|
|
222 |
|
223 |
show_notice: function(msg_text, msg_type) {
|
224 |
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
if (
|
229 |
-
|
230 |
-
|
231 |
-
div.classList.add('notice-
|
232 |
-
} else
|
233 |
-
div
|
234 |
-
} else if (msg_type=='warning') {
|
235 |
-
div.classList.add('notice-warning'); // Yellow left border
|
236 |
}
|
|
|
237 |
/* create paragraph element to hold message */
|
238 |
var par = document.createElement('p');
|
239 |
/* Add message text */
|
@@ -262,7 +261,7 @@ var ure_main = {
|
|
262 |
but.addEventListener('click', function () {
|
263 |
div.parentNode.removeChild(div);
|
264 |
});
|
265 |
-
|
266 |
},
|
267 |
|
268 |
|
222 |
|
223 |
show_notice: function(msg_text, msg_type) {
|
224 |
|
225 |
+
var class_name = 'notice-'+ msg_type;
|
226 |
+
// try to use exising notice div with needed type
|
227 |
+
var divs = document.getElementsByClassName( class_name );
|
228 |
+
if ( divs === null || ( typeof divs === 'object' && divs.length===0 ) ) {
|
229 |
+
// create notice div
|
230 |
+
var div = document.createElement('div');
|
231 |
+
div.classList.add('notice', 'is-dismissible', class_name);
|
232 |
+
} else {
|
233 |
+
var div = divs[0];
|
|
|
|
|
234 |
}
|
235 |
+
|
236 |
/* create paragraph element to hold message */
|
237 |
var par = document.createElement('p');
|
238 |
/* Add message text */
|
261 |
but.addEventListener('click', function () {
|
262 |
div.parentNode.removeChild(div);
|
263 |
});
|
264 |
+
// setTimeout(this.hide_notice, 7000, div); // remove automatically after 7 sec.
|
265 |
},
|
266 |
|
267 |
|
lang/user-role-editor.pot
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
-
"Project-Id-Version: User Role Editor 4.
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2021-
|
7 |
"PO-Revision-Date: \n"
|
8 |
"Last-Translator: Vladimir Garagulya <vladimir@shinephp.com>\n"
|
9 |
"Language-Team: https://www.role-editor.com <support@role-editor.com>\n"
|
@@ -22,9 +22,9 @@ msgid "Custom Post Types"
|
|
22 |
msgstr ""
|
23 |
|
24 |
#: ../includes/classes/capabilities-groups-manager.php:75
|
25 |
-
#: ../includes/classes/editor.php:
|
26 |
-
#: ../includes/classes/user-role-editor.php:
|
27 |
-
#: ../includes/classes/user-role-editor.php:
|
28 |
msgid "User Role Editor"
|
29 |
msgstr ""
|
30 |
|
@@ -42,7 +42,7 @@ msgid "All"
|
|
42 |
msgstr ""
|
43 |
|
44 |
#: ../includes/classes/capabilities-groups-manager.php:112
|
45 |
-
#: ../includes/classes/user-role-editor.php:
|
46 |
#: ../includes/settings-template.php:20
|
47 |
msgid "General"
|
48 |
msgstr ""
|
@@ -68,7 +68,7 @@ msgid "Users"
|
|
68 |
msgstr ""
|
69 |
|
70 |
#: ../includes/classes/capabilities-groups-manager.php:121
|
71 |
-
#: ../includes/classes/user-role-editor.php:
|
72 |
#: ../includes/settings-template.php:36
|
73 |
msgid "Multisite"
|
74 |
msgstr ""
|
@@ -94,10 +94,10 @@ msgid "Error: this word is used by WordPress as a role ID"
|
|
94 |
msgstr ""
|
95 |
|
96 |
#: ../includes/classes/capability.php:79 ../includes/classes/capability.php:190
|
97 |
-
#: ../includes/classes/editor.php:
|
98 |
-
#: ../includes/classes/editor.php:
|
99 |
-
#: ../includes/classes/editor.php:
|
100 |
-
#: ../includes/classes/user-role-editor.php:
|
101 |
msgid "Insufficient permissions to work with User Role Editor"
|
102 |
msgstr ""
|
103 |
|
@@ -129,406 +129,406 @@ msgstr ""
|
|
129 |
msgid "capabilities were removed successfully"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: ../includes/classes/editor.php:
|
133 |
msgid "Error: "
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: ../includes/classes/editor.php:
|
137 |
msgid "Wrong request!"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: ../includes/classes/editor.php:
|
141 |
msgid "Role"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: ../includes/classes/editor.php:
|
145 |
msgid "does not exist"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: ../includes/classes/editor.php:
|
149 |
msgid "Role is updated successfully"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: ../includes/classes/editor.php:
|
153 |
msgid "Roles are updated for all network"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: ../includes/classes/editor.php:
|
157 |
msgid "Error occurred during role(s) update"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: ../includes/classes/editor.php:
|
161 |
msgid "User capabilities are updated successfully"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: ../includes/classes/editor.php:
|
165 |
msgid "Error occurred during user update"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: ../includes/classes/editor.php:
|
169 |
msgid "Error: Role ID is empty!"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: ../includes/classes/editor.php:
|
173 |
msgid ""
|
174 |
"Error: Role ID must contain latin characters, digits, hyphens or underscore "
|
175 |
"only!"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: ../includes/classes/editor.php:
|
179 |
msgid ""
|
180 |
"Error: WordPress does not support numeric Role name (ID). Add latin "
|
181 |
"characters to it."
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: ../includes/classes/editor.php:
|
185 |
#, php-format
|
186 |
msgid "Role %s exists already"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: ../includes/classes/editor.php:
|
190 |
msgid "Error is encountered during new role create operation"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: ../includes/classes/editor.php:
|
194 |
#, php-format
|
195 |
msgid "Role %s is created successfully"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: ../includes/classes/editor.php:
|
199 |
msgid "Error: Empty role display name is not allowed."
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: ../includes/classes/editor.php:
|
203 |
#, php-format
|
204 |
msgid "Role %s does not exists"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: ../includes/classes/editor.php:
|
208 |
#, php-format
|
209 |
msgid "Role %s is renamed to %s successfully"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: ../includes/classes/editor.php:
|
213 |
msgid "Role does not exist"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: ../includes/classes/editor.php:
|
217 |
msgid "You can not delete role"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: ../includes/classes/editor.php:
|
221 |
msgid "There are no roles for deletion"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: ../includes/classes/editor.php:
|
225 |
msgid "Wrong role ID"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: ../includes/classes/editor.php:
|
229 |
msgid "Unused roles are deleted successfully"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: ../includes/classes/editor.php:
|
233 |
#, php-format
|
234 |
msgid "Role %s is deleted successfully"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: ../includes/classes/editor.php:
|
238 |
msgid ""
|
239 |
"This method is only for a single site of WordPress multisite installation."
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: ../includes/classes/editor.php:
|
243 |
msgid "Wrong request. Default role can not be empty"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: ../includes/classes/editor.php:
|
247 |
#, php-format
|
248 |
msgid "Default role for new users is set to %s successfully"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: ../includes/classes/editor.php:
|
252 |
msgid "Error encountered during default role change operation"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: ../includes/classes/editor.php:
|
256 |
msgid "Can not set Administrator role as a default one"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: ../includes/classes/editor.php:
|
260 |
msgid "This role does not exist - "
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: ../includes/classes/editor.php:
|
264 |
msgid "User Roles are restored to WordPress default values. "
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: ../includes/classes/editor.php:
|
268 |
msgid "Error: wrong request"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: ../includes/classes/editor.php:
|
272 |
msgid "Editor"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: ../includes/classes/editor.php:
|
276 |
msgid "Author"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: ../includes/classes/editor.php:
|
280 |
msgid "Contributor"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: ../includes/classes/editor.php:
|
284 |
msgid "Subscriber"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: ../includes/classes/editor.php:
|
288 |
msgid "Switch themes"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: ../includes/classes/editor.php:
|
292 |
msgid "Edit themes"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: ../includes/classes/editor.php:
|
296 |
msgid "Activate plugins"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: ../includes/classes/editor.php:
|
300 |
msgid "Edit plugins"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: ../includes/classes/editor.php:
|
304 |
msgid "Edit users"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: ../includes/classes/editor.php:
|
308 |
msgid "Edit files"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: ../includes/classes/editor.php:
|
312 |
msgid "Manage options"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: ../includes/classes/editor.php:
|
316 |
msgid "Moderate comments"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: ../includes/classes/editor.php:
|
320 |
msgid "Manage categories"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: ../includes/classes/editor.php:
|
324 |
msgid "Manage links"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: ../includes/classes/editor.php:
|
328 |
msgid "Upload files"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: ../includes/classes/editor.php:
|
332 |
msgid "Import"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: ../includes/classes/editor.php:
|
336 |
msgid "Unfiltered html"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: ../includes/classes/editor.php:
|
340 |
msgid "Edit posts"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: ../includes/classes/editor.php:
|
344 |
msgid "Edit others posts"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: ../includes/classes/editor.php:
|
348 |
msgid "Edit published posts"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: ../includes/classes/editor.php:
|
352 |
msgid "Publish posts"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: ../includes/classes/editor.php:
|
356 |
msgid "Edit pages"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: ../includes/classes/editor.php:
|
360 |
msgid "Read"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: ../includes/classes/editor.php:
|
364 |
msgid "Level 10"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: ../includes/classes/editor.php:
|
368 |
msgid "Level 9"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: ../includes/classes/editor.php:
|
372 |
msgid "Level 8"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: ../includes/classes/editor.php:
|
376 |
msgid "Level 7"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: ../includes/classes/editor.php:
|
380 |
msgid "Level 6"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: ../includes/classes/editor.php:
|
384 |
msgid "Level 5"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: ../includes/classes/editor.php:
|
388 |
msgid "Level 4"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: ../includes/classes/editor.php:
|
392 |
msgid "Level 3"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: ../includes/classes/editor.php:
|
396 |
msgid "Level 2"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: ../includes/classes/editor.php:
|
400 |
msgid "Level 1"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: ../includes/classes/editor.php:
|
404 |
msgid "Level 0"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: ../includes/classes/editor.php:
|
408 |
msgid "Edit others pages"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: ../includes/classes/editor.php:
|
412 |
msgid "Edit published pages"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: ../includes/classes/editor.php:
|
416 |
msgid "Publish pages"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: ../includes/classes/editor.php:
|
420 |
msgid "Delete pages"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: ../includes/classes/editor.php:
|
424 |
msgid "Delete others pages"
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: ../includes/classes/editor.php:
|
428 |
msgid "Delete published pages"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: ../includes/classes/editor.php:
|
432 |
msgid "Delete posts"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: ../includes/classes/editor.php:
|
436 |
msgid "Delete others posts"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: ../includes/classes/editor.php:
|
440 |
msgid "Delete published posts"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: ../includes/classes/editor.php:
|
444 |
msgid "Delete private posts"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: ../includes/classes/editor.php:
|
448 |
msgid "Edit private posts"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: ../includes/classes/editor.php:
|
452 |
msgid "Read private posts"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: ../includes/classes/editor.php:
|
456 |
msgid "Delete private pages"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: ../includes/classes/editor.php:
|
460 |
msgid "Edit private pages"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: ../includes/classes/editor.php:
|
464 |
msgid "Read private pages"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: ../includes/classes/editor.php:
|
468 |
msgid "Delete users"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: ../includes/classes/editor.php:
|
472 |
msgid "Create users"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: ../includes/classes/editor.php:
|
476 |
msgid "Unfiltered upload"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: ../includes/classes/editor.php:
|
480 |
msgid "Edit dashboard"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: ../includes/classes/editor.php:
|
484 |
msgid "Update plugins"
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: ../includes/classes/editor.php:
|
488 |
msgid "Delete plugins"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: ../includes/classes/editor.php:
|
492 |
msgid "Install plugins"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: ../includes/classes/editor.php:
|
496 |
msgid "Update themes"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: ../includes/classes/editor.php:
|
500 |
msgid "Install themes"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: ../includes/classes/editor.php:
|
504 |
msgid "Update core"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: ../includes/classes/editor.php:
|
508 |
msgid "List users"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: ../includes/classes/editor.php:
|
512 |
msgid "Remove users"
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: ../includes/classes/editor.php:
|
516 |
msgid "Add users"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: ../includes/classes/editor.php:
|
520 |
msgid "Promote users"
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: ../includes/classes/editor.php:
|
524 |
msgid "Edit theme options"
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: ../includes/classes/editor.php:
|
528 |
msgid "Delete themes"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: ../includes/classes/editor.php:
|
532 |
msgid "Export"
|
533 |
msgstr ""
|
534 |
|
@@ -607,27 +607,27 @@ msgstr ""
|
|
607 |
msgid "Select role(s) which you wish to grant!"
|
608 |
msgstr ""
|
609 |
|
610 |
-
#: ../includes/classes/lib.php:
|
611 |
msgid "Version:"
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: ../includes/classes/lib.php:
|
615 |
msgid "Author's website"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: ../includes/classes/lib.php:
|
619 |
msgid "Plugin webpage"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: ../includes/classes/lib.php:
|
623 |
msgid "Plugin download"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: ../includes/classes/lib.php:
|
627 |
msgid "Changelog"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: ../includes/classes/lib.php:
|
631 |
msgid "FAQ"
|
632 |
msgstr ""
|
633 |
|
@@ -819,7 +819,7 @@ msgid "Reset Roles to its original state"
|
|
819 |
msgstr ""
|
820 |
|
821 |
#: ../includes/classes/tools.php:36
|
822 |
-
#: ../includes/classes/user-role-editor.php:
|
823 |
msgid "Reset"
|
824 |
msgstr ""
|
825 |
|
@@ -827,191 +827,191 @@ msgstr ""
|
|
827 |
msgid "Tools: Reset: User Roles were initialized"
|
828 |
msgstr ""
|
829 |
|
830 |
-
#: ../includes/classes/user-other-roles.php:
|
831 |
-
#: ../includes/classes/user-other-roles.php:
|
832 |
msgid "Other Roles"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: ../includes/classes/user-other-roles.php:
|
836 |
msgid "Select additional roles for this user"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: ../includes/classes/user-other-roles.php:
|
840 |
#, php-format
|
841 |
msgid "Denied: %s"
|
842 |
msgstr ""
|
843 |
|
844 |
-
#: ../includes/classes/user-other-roles.php:
|
845 |
-
#: ../includes/classes/user-role-editor.php:
|
846 |
msgid "Capabilities"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: ../includes/classes/user-other-roles.php:
|
850 |
msgid "Edit"
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: ../includes/classes/user-other-roles.php:
|
854 |
msgid "Additional Capabilities"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: ../includes/classes/user-role-editor.php:
|
858 |
msgid "Change role for users without role"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: ../includes/classes/user-role-editor.php:
|
862 |
msgid "To:"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: ../includes/classes/user-role-editor.php:
|
866 |
msgid "No rights"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#: ../includes/classes/user-role-editor.php:
|
870 |
msgid "Provide new role"
|
871 |
msgstr ""
|
872 |
|
873 |
-
#: ../includes/classes/user-role-editor.php:
|
874 |
-
#: ../includes/classes/user-role-editor.php:
|
875 |
msgid "You do not have permission to edit this user."
|
876 |
msgstr ""
|
877 |
|
878 |
-
#: ../includes/classes/user-role-editor.php:
|
879 |
-
#: ../includes/classes/user-role-editor.php:
|
880 |
msgid "Settings"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: ../includes/classes/user-role-editor.php:
|
884 |
#: ../includes/settings-template.php:26
|
885 |
msgid "Additional Modules"
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: ../includes/classes/user-role-editor.php:
|
889 |
#: ../includes/settings-template.php:31
|
890 |
msgid "Default Roles"
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: ../includes/classes/user-role-editor.php:
|
894 |
msgid ""
|
895 |
"You do not have sufficient permissions to manage options for User Role "
|
896 |
"Editor."
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: ../includes/classes/user-role-editor.php:
|
900 |
-
#: ../includes/classes/user-role-editor.php:
|
901 |
msgid "Confirm"
|
902 |
msgstr ""
|
903 |
|
904 |
-
#: ../includes/classes/user-role-editor.php:
|
905 |
-
#: ../includes/classes/user-role-editor.php:
|
906 |
msgid "Yes"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: ../includes/classes/user-role-editor.php:
|
910 |
-
#: ../includes/classes/user-role-editor.php:
|
911 |
msgid "No"
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: ../includes/classes/user-role-editor.php:
|
915 |
msgid "Update"
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: ../includes/classes/user-role-editor.php:
|
919 |
msgid "Please confirm permissions update"
|
920 |
msgstr ""
|
921 |
|
922 |
-
#: ../includes/classes/user-role-editor.php:
|
923 |
msgid "Add New Role"
|
924 |
msgstr ""
|
925 |
|
926 |
-
#: ../includes/classes/user-role-editor.php:
|
927 |
-
#: ../includes/classes/user-role-editor.php:
|
928 |
msgid "Rename Role"
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: ../includes/classes/user-role-editor.php:
|
932 |
msgid " Role name (ID) can not be empty!"
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: ../includes/classes/user-role-editor.php:
|
936 |
msgid ""
|
937 |
" Role name (ID) must contain latin characters, digits, hyphens or underscore "
|
938 |
"only!"
|
939 |
msgstr ""
|
940 |
|
941 |
-
#: ../includes/classes/user-role-editor.php:
|
942 |
msgid ""
|
943 |
" WordPress does not support numeric Role name (ID). Add latin characters to "
|
944 |
"it."
|
945 |
msgstr ""
|
946 |
|
947 |
-
#: ../includes/classes/user-role-editor.php:
|
948 |
msgid "Add Role"
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: ../includes/classes/user-role-editor.php:
|
952 |
msgid "Delete Role"
|
953 |
msgstr ""
|
954 |
|
955 |
-
#: ../includes/classes/user-role-editor.php:
|
956 |
msgid "Cancel"
|
957 |
msgstr ""
|
958 |
|
959 |
-
#: ../includes/classes/user-role-editor.php:
|
960 |
msgid "Add Capability"
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: ../includes/classes/user-role-editor.php:
|
964 |
-
#: ../includes/classes/user-role-editor.php:
|
965 |
msgid "Delete Capability"
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: ../includes/classes/user-role-editor.php:
|
969 |
-
#: ../includes/classes/user-role-editor.php:
|
970 |
msgid "Continue?"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: ../includes/classes/user-role-editor.php:
|
974 |
msgid "Default Role"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: ../includes/classes/user-role-editor.php:
|
978 |
msgid "Set New Default Role"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: ../includes/classes/user-role-editor.php:
|
982 |
msgid ""
|
983 |
"Warning! Be careful - removing critical capability could crash some plugin "
|
984 |
"or other custom code"
|
985 |
msgstr ""
|
986 |
|
987 |
-
#: ../includes/classes/user-role-editor.php:
|
988 |
msgid " Capability name (ID) can not be empty!"
|
989 |
msgstr ""
|
990 |
|
991 |
-
#: ../includes/classes/user-role-editor.php:
|
992 |
msgid ""
|
993 |
" Capability name (ID) must contain latin characters, digits, hyphens or "
|
994 |
"underscore only!"
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: ../includes/classes/user-role-editor.php:
|
998 |
msgid "DANGER!"
|
999 |
msgstr ""
|
1000 |
|
1001 |
-
#: ../includes/classes/user-role-editor.php:
|
1002 |
msgid ""
|
1003 |
" Resetting will restore default user roles and capabilities from WordPress "
|
1004 |
"core."
|
1005 |
msgstr ""
|
1006 |
|
1007 |
-
#: ../includes/classes/user-role-editor.php:
|
1008 |
msgid ""
|
1009 |
"If any plugins (such as WooCommerce, S2Member and many others) have changed "
|
1010 |
"user roles and capabilities during installation, all those changes will be "
|
1011 |
"LOST!"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: ../includes/classes/user-role-editor.php:
|
1015 |
msgid ""
|
1016 |
"For more information on how to undo undesired changes and restore plugin "
|
1017 |
"capabilities go to"
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"Project-Id-Version: User Role Editor 4.59.1\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2021-05-11 09:48+0700\n"
|
7 |
"PO-Revision-Date: \n"
|
8 |
"Last-Translator: Vladimir Garagulya <vladimir@shinephp.com>\n"
|
9 |
"Language-Team: https://www.role-editor.com <support@role-editor.com>\n"
|
22 |
msgstr ""
|
23 |
|
24 |
#: ../includes/classes/capabilities-groups-manager.php:75
|
25 |
+
#: ../includes/classes/editor.php:1477
|
26 |
+
#: ../includes/classes/user-role-editor.php:571
|
27 |
+
#: ../includes/classes/user-role-editor.php:602
|
28 |
msgid "User Role Editor"
|
29 |
msgstr ""
|
30 |
|
42 |
msgstr ""
|
43 |
|
44 |
#: ../includes/classes/capabilities-groups-manager.php:112
|
45 |
+
#: ../includes/classes/user-role-editor.php:543
|
46 |
#: ../includes/settings-template.php:20
|
47 |
msgid "General"
|
48 |
msgstr ""
|
68 |
msgstr ""
|
69 |
|
70 |
#: ../includes/classes/capabilities-groups-manager.php:121
|
71 |
+
#: ../includes/classes/user-role-editor.php:561
|
72 |
#: ../includes/settings-template.php:36
|
73 |
msgid "Multisite"
|
74 |
msgstr ""
|
94 |
msgstr ""
|
95 |
|
96 |
#: ../includes/classes/capability.php:79 ../includes/classes/capability.php:190
|
97 |
+
#: ../includes/classes/editor.php:945 ../includes/classes/editor.php:1014
|
98 |
+
#: ../includes/classes/editor.php:1065 ../includes/classes/editor.php:1126
|
99 |
+
#: ../includes/classes/editor.php:1272 ../includes/classes/editor.php:1314
|
100 |
+
#: ../includes/classes/user-role-editor.php:655
|
101 |
msgid "Insufficient permissions to work with User Role Editor"
|
102 |
msgstr ""
|
103 |
|
129 |
msgid "capabilities were removed successfully"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: ../includes/classes/editor.php:234 ../includes/classes/editor.php:236
|
133 |
msgid "Error: "
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: ../includes/classes/editor.php:234
|
137 |
msgid "Wrong request!"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: ../includes/classes/editor.php:236
|
141 |
msgid "Role"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: ../includes/classes/editor.php:237
|
145 |
msgid "does not exist"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: ../includes/classes/editor.php:897
|
149 |
msgid "Role is updated successfully"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: ../includes/classes/editor.php:899
|
153 |
msgid "Roles are updated for all network"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: ../includes/classes/editor.php:902
|
157 |
msgid "Error occurred during role(s) update"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: ../includes/classes/editor.php:906
|
161 |
msgid "User capabilities are updated successfully"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: ../includes/classes/editor.php:908
|
165 |
msgid "Error occurred during user update"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: ../includes/classes/editor.php:978
|
169 |
msgid "Error: Role ID is empty!"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: ../includes/classes/editor.php:987
|
173 |
msgid ""
|
174 |
"Error: Role ID must contain latin characters, digits, hyphens or underscore "
|
175 |
"only!"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: ../includes/classes/editor.php:993
|
179 |
msgid ""
|
180 |
"Error: WordPress does not support numeric Role name (ID). Add latin "
|
181 |
"characters to it."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: ../includes/classes/editor.php:1027
|
185 |
#, php-format
|
186 |
msgid "Role %s exists already"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: ../includes/classes/editor.php:1046
|
190 |
msgid "Error is encountered during new role create operation"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: ../includes/classes/editor.php:1053
|
194 |
#, php-format
|
195 |
msgid "Role %s is created successfully"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: ../includes/classes/editor.php:1138
|
199 |
msgid "Error: Empty role display name is not allowed."
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: ../includes/classes/editor.php:1145
|
203 |
#, php-format
|
204 |
msgid "Role %s does not exists"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: ../includes/classes/editor.php:1158
|
208 |
#, php-format
|
209 |
msgid "Role %s is renamed to %s successfully"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: ../includes/classes/editor.php:1223
|
213 |
msgid "Role does not exist"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: ../includes/classes/editor.php:1227
|
217 |
msgid "You can not delete role"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: ../includes/classes/editor.php:1253
|
221 |
msgid "There are no roles for deletion"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: ../includes/classes/editor.php:1281
|
225 |
msgid "Wrong role ID"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: ../includes/classes/editor.php:1290
|
229 |
msgid "Unused roles are deleted successfully"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: ../includes/classes/editor.php:1292
|
233 |
#, php-format
|
234 |
msgid "Role %s is deleted successfully"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: ../includes/classes/editor.php:1320
|
238 |
msgid ""
|
239 |
"This method is only for a single site of WordPress multisite installation."
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: ../includes/classes/editor.php:1324
|
243 |
msgid "Wrong request. Default role can not be empty"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: ../includes/classes/editor.php:1336
|
247 |
#, php-format
|
248 |
msgid "Default role for new users is set to %s successfully"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: ../includes/classes/editor.php:1338
|
252 |
msgid "Error encountered during default role change operation"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: ../includes/classes/editor.php:1341
|
256 |
msgid "Can not set Administrator role as a default one"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: ../includes/classes/editor.php:1343
|
260 |
msgid "This role does not exist - "
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: ../includes/classes/editor.php:1388
|
264 |
msgid "User Roles are restored to WordPress default values. "
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: ../includes/classes/editor.php:1516
|
268 |
msgid "Error: wrong request"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: ../includes/classes/editor.php:1545
|
272 |
msgid "Editor"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: ../includes/classes/editor.php:1546
|
276 |
msgid "Author"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: ../includes/classes/editor.php:1547
|
280 |
msgid "Contributor"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: ../includes/classes/editor.php:1548
|
284 |
msgid "Subscriber"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: ../includes/classes/editor.php:1550
|
288 |
msgid "Switch themes"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: ../includes/classes/editor.php:1551
|
292 |
msgid "Edit themes"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: ../includes/classes/editor.php:1552
|
296 |
msgid "Activate plugins"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: ../includes/classes/editor.php:1553
|
300 |
msgid "Edit plugins"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: ../includes/classes/editor.php:1554
|
304 |
msgid "Edit users"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: ../includes/classes/editor.php:1555
|
308 |
msgid "Edit files"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: ../includes/classes/editor.php:1556
|
312 |
msgid "Manage options"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: ../includes/classes/editor.php:1557
|
316 |
msgid "Moderate comments"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: ../includes/classes/editor.php:1558
|
320 |
msgid "Manage categories"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: ../includes/classes/editor.php:1559
|
324 |
msgid "Manage links"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: ../includes/classes/editor.php:1560
|
328 |
msgid "Upload files"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: ../includes/classes/editor.php:1561
|
332 |
msgid "Import"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: ../includes/classes/editor.php:1562
|
336 |
msgid "Unfiltered html"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: ../includes/classes/editor.php:1563
|
340 |
msgid "Edit posts"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: ../includes/classes/editor.php:1564
|
344 |
msgid "Edit others posts"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: ../includes/classes/editor.php:1565
|
348 |
msgid "Edit published posts"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: ../includes/classes/editor.php:1566
|
352 |
msgid "Publish posts"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: ../includes/classes/editor.php:1567
|
356 |
msgid "Edit pages"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: ../includes/classes/editor.php:1568
|
360 |
msgid "Read"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: ../includes/classes/editor.php:1569
|
364 |
msgid "Level 10"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: ../includes/classes/editor.php:1570
|
368 |
msgid "Level 9"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: ../includes/classes/editor.php:1571
|
372 |
msgid "Level 8"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: ../includes/classes/editor.php:1572
|
376 |
msgid "Level 7"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: ../includes/classes/editor.php:1573
|
380 |
msgid "Level 6"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: ../includes/classes/editor.php:1574
|
384 |
msgid "Level 5"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: ../includes/classes/editor.php:1575
|
388 |
msgid "Level 4"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: ../includes/classes/editor.php:1576
|
392 |
msgid "Level 3"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: ../includes/classes/editor.php:1577
|
396 |
msgid "Level 2"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: ../includes/classes/editor.php:1578
|
400 |
msgid "Level 1"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: ../includes/classes/editor.php:1579
|
404 |
msgid "Level 0"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: ../includes/classes/editor.php:1580
|
408 |
msgid "Edit others pages"
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: ../includes/classes/editor.php:1581
|
412 |
msgid "Edit published pages"
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: ../includes/classes/editor.php:1582
|
416 |
msgid "Publish pages"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: ../includes/classes/editor.php:1583
|
420 |
msgid "Delete pages"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: ../includes/classes/editor.php:1584
|
424 |
msgid "Delete others pages"
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: ../includes/classes/editor.php:1585
|
428 |
msgid "Delete published pages"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: ../includes/classes/editor.php:1586
|
432 |
msgid "Delete posts"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: ../includes/classes/editor.php:1587
|
436 |
msgid "Delete others posts"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: ../includes/classes/editor.php:1588
|
440 |
msgid "Delete published posts"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: ../includes/classes/editor.php:1589
|
444 |
msgid "Delete private posts"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: ../includes/classes/editor.php:1590
|
448 |
msgid "Edit private posts"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: ../includes/classes/editor.php:1591
|
452 |
msgid "Read private posts"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: ../includes/classes/editor.php:1592
|
456 |
msgid "Delete private pages"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: ../includes/classes/editor.php:1593
|
460 |
msgid "Edit private pages"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: ../includes/classes/editor.php:1594
|
464 |
msgid "Read private pages"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: ../includes/classes/editor.php:1595
|
468 |
msgid "Delete users"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: ../includes/classes/editor.php:1596
|
472 |
msgid "Create users"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: ../includes/classes/editor.php:1597
|
476 |
msgid "Unfiltered upload"
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: ../includes/classes/editor.php:1598
|
480 |
msgid "Edit dashboard"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: ../includes/classes/editor.php:1599
|
484 |
msgid "Update plugins"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: ../includes/classes/editor.php:1600
|
488 |
msgid "Delete plugins"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: ../includes/classes/editor.php:1601
|
492 |
msgid "Install plugins"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: ../includes/classes/editor.php:1602
|
496 |
msgid "Update themes"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: ../includes/classes/editor.php:1603
|
500 |
msgid "Install themes"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: ../includes/classes/editor.php:1604
|
504 |
msgid "Update core"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: ../includes/classes/editor.php:1605
|
508 |
msgid "List users"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: ../includes/classes/editor.php:1606
|
512 |
msgid "Remove users"
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: ../includes/classes/editor.php:1607
|
516 |
msgid "Add users"
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: ../includes/classes/editor.php:1608
|
520 |
msgid "Promote users"
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: ../includes/classes/editor.php:1609
|
524 |
msgid "Edit theme options"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: ../includes/classes/editor.php:1610
|
528 |
msgid "Delete themes"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: ../includes/classes/editor.php:1611
|
532 |
msgid "Export"
|
533 |
msgstr ""
|
534 |
|
607 |
msgid "Select role(s) which you wish to grant!"
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: ../includes/classes/lib.php:383
|
611 |
msgid "Version:"
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: ../includes/classes/lib.php:384
|
615 |
msgid "Author's website"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: ../includes/classes/lib.php:385
|
619 |
msgid "Plugin webpage"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: ../includes/classes/lib.php:386
|
623 |
msgid "Plugin download"
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: ../includes/classes/lib.php:387 ../includes/classes/user-role-editor.php:520
|
627 |
msgid "Changelog"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: ../includes/classes/lib.php:388
|
631 |
msgid "FAQ"
|
632 |
msgstr ""
|
633 |
|
819 |
msgstr ""
|
820 |
|
821 |
#: ../includes/classes/tools.php:36
|
822 |
+
#: ../includes/classes/user-role-editor.php:792
|
823 |
msgid "Reset"
|
824 |
msgstr ""
|
825 |
|
827 |
msgid "Tools: Reset: User Roles were initialized"
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: ../includes/classes/user-other-roles.php:124
|
831 |
+
#: ../includes/classes/user-other-roles.php:259
|
832 |
msgid "Other Roles"
|
833 |
msgstr ""
|
834 |
|
835 |
+
#: ../includes/classes/user-other-roles.php:125
|
836 |
msgid "Select additional roles for this user"
|
837 |
msgstr ""
|
838 |
|
839 |
+
#: ../includes/classes/user-other-roles.php:222
|
840 |
#, php-format
|
841 |
msgid "Denied: %s"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: ../includes/classes/user-other-roles.php:238
|
845 |
+
#: ../includes/classes/user-role-editor.php:396
|
846 |
msgid "Capabilities"
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: ../includes/classes/user-other-roles.php:245
|
850 |
msgid "Edit"
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: ../includes/classes/user-other-roles.php:309
|
854 |
msgid "Additional Capabilities"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: ../includes/classes/user-role-editor.php:293
|
858 |
msgid "Change role for users without role"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: ../includes/classes/user-role-editor.php:294
|
862 |
msgid "To:"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: ../includes/classes/user-role-editor.php:295
|
866 |
msgid "No rights"
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: ../includes/classes/user-role-editor.php:296
|
870 |
msgid "Provide new role"
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: ../includes/classes/user-role-editor.php:368
|
874 |
+
#: ../includes/classes/user-role-editor.php:370
|
875 |
msgid "You do not have permission to edit this user."
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: ../includes/classes/user-role-editor.php:494
|
879 |
+
#: ../includes/classes/user-role-editor.php:507
|
880 |
msgid "Settings"
|
881 |
msgstr ""
|
882 |
|
883 |
+
#: ../includes/classes/user-role-editor.php:549
|
884 |
#: ../includes/settings-template.php:26
|
885 |
msgid "Additional Modules"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: ../includes/classes/user-role-editor.php:555
|
889 |
#: ../includes/settings-template.php:31
|
890 |
msgid "Default Roles"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: ../includes/classes/user-role-editor.php:622
|
894 |
msgid ""
|
895 |
"You do not have sufficient permissions to manage options for User Role "
|
896 |
"Editor."
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: ../includes/classes/user-role-editor.php:742
|
900 |
+
#: ../includes/classes/user-role-editor.php:789
|
901 |
msgid "Confirm"
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: ../includes/classes/user-role-editor.php:743
|
905 |
+
#: ../includes/classes/user-role-editor.php:790
|
906 |
msgid "Yes"
|
907 |
msgstr ""
|
908 |
|
909 |
+
#: ../includes/classes/user-role-editor.php:744
|
910 |
+
#: ../includes/classes/user-role-editor.php:791
|
911 |
msgid "No"
|
912 |
msgstr ""
|
913 |
|
914 |
+
#: ../includes/classes/user-role-editor.php:745
|
915 |
msgid "Update"
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: ../includes/classes/user-role-editor.php:746
|
919 |
msgid "Please confirm permissions update"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: ../includes/classes/user-role-editor.php:747
|
923 |
msgid "Add New Role"
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: ../includes/classes/user-role-editor.php:748
|
927 |
+
#: ../includes/classes/user-role-editor.php:753
|
928 |
msgid "Rename Role"
|
929 |
msgstr ""
|
930 |
|
931 |
+
#: ../includes/classes/user-role-editor.php:749
|
932 |
msgid " Role name (ID) can not be empty!"
|
933 |
msgstr ""
|
934 |
|
935 |
+
#: ../includes/classes/user-role-editor.php:750
|
936 |
msgid ""
|
937 |
" Role name (ID) must contain latin characters, digits, hyphens or underscore "
|
938 |
"only!"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: ../includes/classes/user-role-editor.php:751
|
942 |
msgid ""
|
943 |
" WordPress does not support numeric Role name (ID). Add latin characters to "
|
944 |
"it."
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: ../includes/classes/user-role-editor.php:752
|
948 |
msgid "Add Role"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: ../includes/classes/user-role-editor.php:754
|
952 |
msgid "Delete Role"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: ../includes/classes/user-role-editor.php:755
|
956 |
msgid "Cancel"
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: ../includes/classes/user-role-editor.php:756
|
960 |
msgid "Add Capability"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: ../includes/classes/user-role-editor.php:757
|
964 |
+
#: ../includes/classes/user-role-editor.php:761
|
965 |
msgid "Delete Capability"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: ../includes/classes/user-role-editor.php:758
|
969 |
+
#: ../includes/classes/user-role-editor.php:798
|
970 |
msgid "Continue?"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: ../includes/classes/user-role-editor.php:759
|
974 |
msgid "Default Role"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: ../includes/classes/user-role-editor.php:760
|
978 |
msgid "Set New Default Role"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: ../includes/classes/user-role-editor.php:762
|
982 |
msgid ""
|
983 |
"Warning! Be careful - removing critical capability could crash some plugin "
|
984 |
"or other custom code"
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: ../includes/classes/user-role-editor.php:763
|
988 |
msgid " Capability name (ID) can not be empty!"
|
989 |
msgstr ""
|
990 |
|
991 |
+
#: ../includes/classes/user-role-editor.php:764
|
992 |
msgid ""
|
993 |
" Capability name (ID) must contain latin characters, digits, hyphens or "
|
994 |
"underscore only!"
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: ../includes/classes/user-role-editor.php:793
|
998 |
msgid "DANGER!"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: ../includes/classes/user-role-editor.php:794
|
1002 |
msgid ""
|
1003 |
" Resetting will restore default user roles and capabilities from WordPress "
|
1004 |
"core."
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: ../includes/classes/user-role-editor.php:795
|
1008 |
msgid ""
|
1009 |
"If any plugins (such as WooCommerce, S2Member and many others) have changed "
|
1010 |
"user roles and capabilities during installation, all those changes will be "
|
1011 |
"LOST!"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: ../includes/classes/user-role-editor.php:796
|
1015 |
msgid ""
|
1016 |
"For more information on how to undo undesired changes and restore plugin "
|
1017 |
"capabilities go to"
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ 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: 5.7
|
7 |
-
Stable tag: 4.59
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -80,6 +80,13 @@ https://translate.wordpress.org/projects/wp-plugins/user-role-editor/
|
|
80 |
|
81 |
|
82 |
== Changelog =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
= [4.59] 05.04.2021 =
|
85 |
* Update: PHP constant URE_WP_ADMIN_URL was replaced with direct 'admin_url()' call to respect the 'admin_url' filter applied by the get_admin_url() WordPress API function.
|
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: 5.7.1
|
7 |
+
Stable tag: 4.59.1
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
80 |
|
81 |
|
82 |
== Changelog =
|
83 |
+
= [4.59.1] 11.05.2021 =
|
84 |
+
* New: Multisite: When update role at the main site with "Apply to all sites" option and PHP constant URE_MULTISITE_DIRECT_UPDATE === 1 (update roles directly in database, not via WordPress API),
|
85 |
+
* URE overwrites all subsite roles with roles from the main site. It's possible now to leave selected role(s) for selected subsite(s) unchanged: add filter 'ure_network_update_leave_roles' and
|
86 |
+
* return from it the array like this one - array( (int) blog_id => array('role_id1', 'role_id2', ... );
|
87 |
+
* Update: "Other roles" section at user profile is available now only for users with 'promote_users' capability.
|
88 |
+
* Update: Notice at the top of URE page about action result is not removed automatically after 7 seconds as earlier.
|
89 |
+
* Update: 'ure_sort_wp_roles_list' filter accepts these values for the single input parameter: false - leave roles list as it is; true, 'id' - sort roles list by role ID; 'name' - sort roles by role name.
|
90 |
|
91 |
= [4.59] 05.04.2021 =
|
92 |
* Update: PHP constant URE_WP_ADMIN_URL was replaced with direct 'admin_url()' call to respect the 'admin_url' filter applied by the get_admin_url() WordPress API function.
|
user-role-editor.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: User Role Editor
|
4 |
Plugin URI: https://www.role-editor.com
|
5 |
Description: Change/add/delete WordPress user roles and capabilities.
|
6 |
-
Version: 4.59
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: https://www.role-editor.com
|
9 |
Text Domain: user-role-editor
|
@@ -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.59' );
|
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: https://www.role-editor.com
|
5 |
Description: Change/add/delete WordPress user roles and capabilities.
|
6 |
+
Version: 4.59.1
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: https://www.role-editor.com
|
9 |
Text Domain: user-role-editor
|
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.59.1' );
|
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__ ) );
|