User Role Editor - Version 4.53.1

Version Description

Download this release

Release Info

Developer shinephp
Plugin Icon 128x128 User Role Editor
Version 4.53.1
Comparing to
See all releases

Code changes from version 4.53 to 4.53.1

changelog.txt CHANGED
@@ -1,6 +1,16 @@
1
  CHANGES LOG (full version).
2
  ===========================
3
 
 
 
 
 
 
 
 
 
 
 
4
  = [4.52.2] 26.12.2019 =
5
  * Fix: Custom capabilities for custom post types was not created by URE automatically since version 4.52.1.
6
  * Fix: 'administrator' role protection did not show to power users roles with 'administrator' word inside, like 'shop_administrator', etc.
1
  CHANGES LOG (full version).
2
  ===========================
3
 
4
+ = [4.53.1] 22.03.2020 =
5
+ * New: "Hide Pro banner" checkbox works via AJAX without full page refresh.
6
+ * Fix: Undefined variable: $message at wp-content/plugins/user-role-editor/includes/classes/editor.php:898
7
+ * Update: Few English grammar enhancements.
8
+
9
+ = [4.53] 01.02.2020 =
10
+ * Update: "Add role", "Delete role", "Rename role", "Add capability", "Delete capability" do not reload full page on completion, but use AJAX for data exchange with server and refresh parts of the page via JavaScript.
11
+ * Update: Multisite: "Allow non super administrators to create, edit, and delete users" option: priority for 'map_meta_cap' filter priority was raised from 1 to 99, in order make possible to overwrite changes made by other plugins, like WooCommerce.
12
+ * Fix: Some English grammar mistakes.
13
+
14
  = [4.52.2] 26.12.2019 =
15
  * Fix: Custom capabilities for custom post types was not created by URE automatically since version 4.52.1.
16
  * Fix: 'administrator' role protection did not show to power users roles with 'administrator' word inside, like 'shop_administrator', etc.
includes/classes/ajax-processor.php CHANGED
@@ -255,6 +255,21 @@ class URE_Ajax_Processor {
255
  return $answer;
256
  }
257
  // end of get_role_caps()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
 
259
 
260
  protected function _dispatch() {
@@ -290,6 +305,9 @@ class URE_Ajax_Processor {
290
  case 'rename_role':
291
  $answer = $this->rename_role();
292
  break;
 
 
 
293
  default:
294
  $answer = array('result' => 'error', 'message' => 'Unknown action "' . $this->action . '"');
295
  }
255
  return $answer;
256
  }
257
  // end of get_role_caps()
258
+
259
+
260
+ protected function hide_pro_banner() {
261
+
262
+ $this->lib->put_option('ure_hide_pro_banner', 1);
263
+ $this->lib->flush_options();
264
+
265
+ $answer = array(
266
+ 'result'=>'success',
267
+ 'message'=>'Pro banner was hidden'
268
+ );
269
+
270
+ return $answer;
271
+ }
272
+ // end of hide_pro_banner()
273
 
274
 
275
  protected function _dispatch() {
305
  case 'rename_role':
306
  $answer = $this->rename_role();
307
  break;
308
+ case 'hide_pro_banner':
309
+ $answer = $this->hide_pro_banner();
310
+ break;
311
  default:
312
  $answer = array('result' => 'error', 'message' => 'Unknown action "' . $this->action . '"');
313
  }
includes/classes/editor.php CHANGED
@@ -21,7 +21,6 @@ class URE_Editor {
21
  protected $current_role = '';
22
  protected $current_role_name = '';
23
  protected $full_capabilities = false;
24
- protected $hide_pro_banner = false;
25
  protected $notification = ''; // notification message to show on page
26
  protected $roles = null;
27
  protected $show_deprecated_caps = false;
@@ -183,17 +182,7 @@ class URE_Editor {
183
  set_site_transient( 'ure_show_deprecated_caps', $this->show_deprecated_caps, URE_Lib::TRANSIENT_EXPIRATION );
184
  }
185
  // end of set_show_deprecated_caps()
186
-
187
-
188
- protected function hide_pro_banner() {
189
-
190
- $this->hide_pro_banner = 1;
191
- $this->lib->put_option('ure_hide_pro_banner', 1);
192
- $this->lib->flush_options();
193
-
194
- }
195
- // end of hide_pro_banner()
196
-
197
 
198
  public function init_current_role_name() {
199
 
@@ -369,6 +358,10 @@ class URE_Editor {
369
  // this functionality is for the Pro version only.
370
  return $result;
371
  }
 
 
 
 
372
 
373
  $role = $this->roles[$role_id];
374
  if ( !is_array( $role['capabilities'] ) ) {
@@ -895,7 +888,7 @@ class URE_Editor {
895
  $wp_roles = wp_roles();
896
  if ( !isset( $wp_roles->roles[$role_id] ) ) {
897
  $response['message'] = sprintf('Error! ' . esc_html__('Role %s does not exists', 'user-role-editor'), $role_id);
898
- return $message;
899
  }
900
 
901
  $new_role_name = sanitize_text_field( $new_role_name );
@@ -1057,7 +1050,7 @@ class URE_Editor {
1057
 
1058
  /**
1059
  * Change default WordPress role
1060
- * @global WP_Roles $wp_roles
1061
  * @return string
1062
  */
1063
  protected function change_default_role() {
@@ -1069,7 +1062,7 @@ class URE_Editor {
1069
 
1070
  $multisite = $this->lib->get('multisite');
1071
  if ( !$multisite || is_network_admin() ) {
1072
- $mess = esc_html__('This method is only for the single site of WordPress multisite installation.', 'user-role-editor');
1073
  return $mess;
1074
  }
1075
  if ( empty( $_POST['user_role_id'] ) ) {
@@ -1136,10 +1129,6 @@ class URE_Editor {
1136
  $this->set_show_deprecated_caps();
1137
  break;
1138
  }
1139
- case 'hide-pro-banner': {
1140
- $this->hide_pro_banner();
1141
- break;
1142
- }
1143
  case 'roles_restore_note': {
1144
  $this->notification = esc_html__( 'User Roles are restored to WordPress default values. ', 'user-role-editor' );
1145
  break;
21
  protected $current_role = '';
22
  protected $current_role_name = '';
23
  protected $full_capabilities = false;
 
24
  protected $notification = ''; // notification message to show on page
25
  protected $roles = null;
26
  protected $show_deprecated_caps = false;
182
  set_site_transient( 'ure_show_deprecated_caps', $this->show_deprecated_caps, URE_Lib::TRANSIENT_EXPIRATION );
183
  }
184
  // end of set_show_deprecated_caps()
185
+
 
 
 
 
 
 
 
 
 
 
186
 
187
  public function init_current_role_name() {
188
 
358
  // this functionality is for the Pro version only.
359
  return $result;
360
  }
361
+
362
+ if ( !isset( $this->roles[$role_id]) ) {
363
+ return false;
364
+ }
365
 
366
  $role = $this->roles[$role_id];
367
  if ( !is_array( $role['capabilities'] ) ) {
888
  $wp_roles = wp_roles();
889
  if ( !isset( $wp_roles->roles[$role_id] ) ) {
890
  $response['message'] = sprintf('Error! ' . esc_html__('Role %s does not exists', 'user-role-editor'), $role_id);
891
+ return $response;
892
  }
893
 
894
  $new_role_name = sanitize_text_field( $new_role_name );
1050
 
1051
  /**
1052
  * Change default WordPress role
1053
+ * This method is only for a single site of WordPress multisite installation.
1054
  * @return string
1055
  */
1056
  protected function change_default_role() {
1062
 
1063
  $multisite = $this->lib->get('multisite');
1064
  if ( !$multisite || is_network_admin() ) {
1065
+ $mess = esc_html__('This method is only for a single site of WordPress multisite installation.', 'user-role-editor');
1066
  return $mess;
1067
  }
1068
  if ( empty( $_POST['user_role_id'] ) ) {
1129
  $this->set_show_deprecated_caps();
1130
  break;
1131
  }
 
 
 
 
1132
  case 'roles_restore_note': {
1133
  $this->notification = esc_html__( 'User Roles are restored to WordPress default values. ', 'user-role-editor' );
1134
  break;
includes/classes/screen-help.php CHANGED
@@ -20,14 +20,14 @@ class URE_Screen_Help {
20
  . '"edit_others_posts" to more user friendly form, e.g. "Edit others posts".','user-role-editor') . '</li>
21
  <li><strong>' . esc_html__('Show deprecated capabilities','user-role-editor').'</strong> - '.
22
  esc_html__('Capabilities like "level_0", "level_1" are deprecated and are not used by WordPress. '
23
- . 'They are left at the user roles for the compatibility purpose with the old themes and plugins code. '
24
  . 'Turning on this option will show those deprecated capabilities.', 'user-role-editor') . '</li>
25
  <li><strong>' . esc_html__('Confirm role update','user-role-editor').'</strong> - ' .
26
  esc_html__('Show confirmation dialog before save changes made to a current role.') . '</li>
27
  <li><strong>' . esc_html__('Edit user capabilities','user-role-editor').'</strong> - '.
28
  esc_html__('If turned off - capabilities section of selected user is shown in readonly mode. '
29
  . 'Administrator can not assign capabilities to the user directly. '
30
- . 'He should make it using roles only.', 'user-role-editor') . '</li>';
31
 
32
  $text = apply_filters('ure_get_settings_general_tab_help', $text);
33
  $text .='
20
  . '"edit_others_posts" to more user friendly form, e.g. "Edit others posts".','user-role-editor') . '</li>
21
  <li><strong>' . esc_html__('Show deprecated capabilities','user-role-editor').'</strong> - '.
22
  esc_html__('Capabilities like "level_0", "level_1" are deprecated and are not used by WordPress. '
23
+ . 'They are left at the user roles for the compatibility purpose with old themes and plugins code. '
24
  . 'Turning on this option will show those deprecated capabilities.', 'user-role-editor') . '</li>
25
  <li><strong>' . esc_html__('Confirm role update','user-role-editor').'</strong> - ' .
26
  esc_html__('Show confirmation dialog before save changes made to a current role.') . '</li>
27
  <li><strong>' . esc_html__('Edit user capabilities','user-role-editor').'</strong> - '.
28
  esc_html__('If turned off - capabilities section of selected user is shown in readonly mode. '
29
  . 'Administrator can not assign capabilities to the user directly. '
30
+ . 'He should do it using roles only.', 'user-role-editor') . '</li>';
31
 
32
  $text = apply_filters('ure_get_settings_general_tab_help', $text);
33
  $text .='
includes/classes/view.php CHANGED
@@ -239,24 +239,24 @@ class URE_View {
239
  // content of User Role Editor Pro advertisement slot - for direct call
240
  public function advertise_pro() {
241
  ?>
242
- <div id="ure_pro_advertisement" style="clear:left;display:block; float: left;">
243
- <a href="https://www.role-editor.com?utm_source=UserRoleEditor&utm_medium=banner&utm_campaign=Plugins " target="_new" >
244
  <?php
245
  $hide_pro_banner = $this->lib->get_option('ure_hide_pro_banner', 0);
246
  if ($hide_pro_banner) {
247
  echo 'User Role Editor Pro: extended functionality, no advertisement - from $29.</a>';
248
  } else {
249
  ?>
250
- <img src="<?php echo URE_PLUGIN_URL; ?>images/user-role-editor-pro-728x90.jpg" alt="User Role Editor Pro"
251
- title="More functionality and premium support with Pro version of User Role Editor."/>
252
- </a><br />
253
- <label for="ure_hide_pro_banner">
254
- <input type="checkbox" name="ure_hide_pro_banner" id="ure_hide_pro_banner" onclick="ure_hide_pro_banner();"/>&nbsp;Thanks, hide this banner.
255
- </label>
256
  <?php
257
  }
258
  ?>
259
- </div>
260
  <?php
261
  }
262
  // end of advertise_pro_version()
@@ -331,7 +331,7 @@ class URE_View {
331
  ?>
332
  <div class="ure-table-cell ure-caps-option nowrap">
333
  <?php esc_html_e('Quick filter:', 'user-role-editor'); ?>&nbsp;
334
- <input type="text" id="quick_filter" name="quick_filter" value="" size="10" onkeyup="ure_filter_capabilities(this.value);" />&nbsp;&nbsp;&nbsp;
335
  <input type="checkbox" id="granted_only" name="granted_only" />
336
  <label for="granted_only"><?php esc_html_e('Granted Only', 'user-role-editor'); ?></label>&nbsp;
337
  </div>
239
  // content of User Role Editor Pro advertisement slot - for direct call
240
  public function advertise_pro() {
241
  ?>
242
+ <div id="ure_pro_advertisement" style="clear:left;display:block; float: left;">
243
+ <a href="https://www.role-editor.com?utm_source=UserRoleEditor&utm_medium=banner&utm_campaign=Plugins " target="_new" >
244
  <?php
245
  $hide_pro_banner = $this->lib->get_option('ure_hide_pro_banner', 0);
246
  if ($hide_pro_banner) {
247
  echo 'User Role Editor Pro: extended functionality, no advertisement - from $29.</a>';
248
  } else {
249
  ?>
250
+ <img src="<?php echo URE_PLUGIN_URL; ?>images/user-role-editor-pro-728x90.jpg" alt="User Role Editor Pro"
251
+ title="More functionality and premium support with Pro version of User Role Editor."/>
252
+ </a><br />
253
+ <label for="ure_hide_pro_banner">
254
+ <input type="checkbox" name="ure_hide_pro_banner" id="ure_hide_pro_banner" onclick="ure_main.hide_pro_banner();"/>&nbsp;Thanks, hide this banner.
255
+ </label>
256
  <?php
257
  }
258
  ?>
259
+ </div>
260
  <?php
261
  }
262
  // end of advertise_pro_version()
331
  ?>
332
  <div class="ure-table-cell ure-caps-option nowrap">
333
  <?php esc_html_e('Quick filter:', 'user-role-editor'); ?>&nbsp;
334
+ <input type="text" id="quick_filter" name="quick_filter" value="" size="10" onkeyup="ure_main.filter_capabilities(this.value);" />&nbsp;&nbsp;&nbsp;
335
  <input type="checkbox" id="granted_only" name="granted_only" />
336
  <label for="granted_only"><?php esc_html_e('Granted Only', 'user-role-editor'); ?></label>&nbsp;
337
  </div>
js/ure.js CHANGED
@@ -399,9 +399,9 @@ var ure_main = {
399
  if ( ure_data.do_not_revoke_from_admin==1 ) {
400
  var el = document.getElementById(this.id);
401
  if ( 'administrator'===ure_current_role ) {
402
- el.addEventListener( 'click', ure_turn_it_back );
403
  } else {
404
- el.removeEventListener( 'click', ure_turn_it_back );
405
  }
406
  }
407
  });
@@ -865,11 +865,6 @@ var ure_main = {
865
  error: ure_main.ajax_error
866
  } );
867
  jQuery(this).dialog('close');
868
- /*
869
- jQuery.ure_postGo(ure_data.page_url,
870
- {action: 'rename-role', user_role_id: role_id, user_role_name: role_name, ure_nonce: ure_data.wp_nonce}
871
- );
872
- */
873
  },
874
  CancelRenameRole: function () {
875
  jQuery(this).dialog('close');
@@ -899,13 +894,63 @@ var ure_main = {
899
  } else {
900
  ure_main.show_notice( data.message, 'error' );
901
  }
902
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
903
 
904
  }; // end of ure_main declaration
905
  //-------------------------------
906
 
907
 
908
-
909
  function ure_ui_button_text(caption) {
910
  var wrapper = '<span class="ui-button-text">' + caption + '</span>';
911
 
@@ -1008,17 +1053,6 @@ jQuery(function ($) {
1008
  // end of jQuery(function() ...
1009
 
1010
 
1011
- // turn on checkbox back if clicked to turn off - for 'administrator' role only!
1012
- function ure_turn_it_back( event ) {
1013
-
1014
- if ( 'administrator'===ure_current_role ) {
1015
- event.target.checked = true;
1016
- }
1017
-
1018
- }
1019
- // end of ure_turn_it_back()
1020
-
1021
-
1022
  function ure_turn_caps_readable(user_id) {
1023
  var ure_obj = 'user';
1024
  if (user_id === 0) {
@@ -1043,30 +1077,6 @@ function ure_turn_deprecated_caps(user_id) {
1043
  // ure_turn_deprecated_caps()
1044
 
1045
 
1046
- function ure_filter_capabilities(cap_id) {
1047
- var div_list = jQuery('.ure-cap-div');
1048
- for (var i = 0; i < div_list.length; i++) {
1049
- if (cap_id !== '' && div_list[i].id.substr(11).indexOf(cap_id) !== -1) {
1050
- jQuery('#'+ div_list[i].id).addClass('ure_tag');
1051
- div_list[i].style.color = '#27CF27';
1052
- } else {
1053
- div_list[i].style.color = '#000000';
1054
- jQuery('#'+ div_list[i].id).removeClass('ure_tag');
1055
- }
1056
- }
1057
-
1058
- }
1059
- // end of ure_filter_capabilities()
1060
-
1061
-
1062
- function ure_hide_pro_banner() {
1063
-
1064
- jQuery.ure_postGo(ure_data.page_url, {action: 'hide-pro-banner', ure_nonce: ure_data.wp_nonce});
1065
-
1066
- }
1067
- // end of ure_hide_this_banner()
1068
-
1069
-
1070
  jQuery(window).resize(function () {
1071
  ure_main.sizes_update();
1072
  });
399
  if ( ure_data.do_not_revoke_from_admin==1 ) {
400
  var el = document.getElementById(this.id);
401
  if ( 'administrator'===ure_current_role ) {
402
+ el.addEventListener( 'click', ure_main.turn_it_back );
403
  } else {
404
+ el.removeEventListener( 'click', ure_main.turn_it_back );
405
  }
406
  }
407
  });
865
  error: ure_main.ajax_error
866
  } );
867
  jQuery(this).dialog('close');
 
 
 
 
 
868
  },
869
  CancelRenameRole: function () {
870
  jQuery(this).dialog('close');
894
  } else {
895
  ure_main.show_notice( data.message, 'error' );
896
  }
897
+ },
898
+
899
+ hide_pro_banner: function() {
900
+ jQuery('#ure_task_status').show();
901
+ jQuery.ajax( {
902
+ url: ajaxurl,
903
+ type: 'POST',
904
+ dataType: 'json',
905
+ async: true,
906
+ data: {
907
+ action: 'ure_ajax',
908
+ sub_action: 'hide_pro_banner',
909
+ network_admin: ure_data.network_admin,
910
+ wp_nonce: ure_data.wp_nonce
911
+ },
912
+ success: ure_main.hide_pro_banner_success,
913
+ error: ure_main.ajax_error
914
+ } );
915
+ },
916
+
917
+ hide_pro_banner_success: function( data ) {
918
+ jQuery('#ure_task_status').hide();
919
+ if ( data.result=='success' ) {
920
+ jQuery( '#ure_pro_advertisement' ).hide();
921
+ } else {
922
+ ure_main.show_notice( data.message, 'error' );
923
+ }
924
+ },
925
+
926
+ filter_capabilities: function( cap_id ) {
927
+ var div_list = jQuery('.ure-cap-div');
928
+ for (var i = 0; i < div_list.length; i++) {
929
+ if (cap_id !== '' && div_list[i].id.substr(11).indexOf(cap_id) !== -1) {
930
+ jQuery('#'+ div_list[i].id).addClass('ure_tag');
931
+ div_list[i].style.color = '#27CF27';
932
+ } else {
933
+ div_list[i].style.color = '#000000';
934
+ jQuery('#'+ div_list[i].id).removeClass('ure_tag');
935
+ }
936
+ }
937
+
938
+ },
939
+
940
+ // turn on checkbox back if clicked to turn off - for 'administrator' role only!
941
+ turn_it_back: function( event ) {
942
+
943
+ if ( 'administrator'===ure_current_role ) {
944
+ event.target.checked = true;
945
+ }
946
+
947
+ }
948
+
949
 
950
  }; // end of ure_main declaration
951
  //-------------------------------
952
 
953
 
 
954
  function ure_ui_button_text(caption) {
955
  var wrapper = '<span class="ui-button-text">' + caption + '</span>';
956
 
1053
  // end of jQuery(function() ...
1054
 
1055
 
 
 
 
 
 
 
 
 
 
 
 
1056
  function ure_turn_caps_readable(user_id) {
1057
  var ure_obj = 'user';
1058
  if (user_id === 0) {
1077
  // ure_turn_deprecated_caps()
1078
 
1079
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1080
  jQuery(window).resize(function () {
1081
  ure_main.sizes_update();
1082
  });
lang/user-role-editor.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: User Role Editor 4.51\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2020-02-01 11:23+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,7 +22,7 @@ msgid "Custom Post Types"
22
  msgstr ""
23
 
24
  #: ../includes/classes/capabilities-groups-manager.php:75
25
- #: ../includes/classes/editor.php:1237
26
  #: ../includes/classes/user-role-editor.php:566
27
  #: ../includes/classes/user-role-editor.php:597
28
  msgid "User Role Editor"
@@ -94,9 +94,9 @@ 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:749 ../includes/classes/editor.php:818
98
- #: ../includes/classes/editor.php:878 ../includes/classes/editor.php:1024
99
- #: ../includes/classes/editor.php:1066
100
  #: ../includes/classes/user-role-editor.php:650
101
  msgid "Insufficient permissions to work with User Role Editor"
102
  msgstr ""
@@ -129,406 +129,406 @@ msgstr ""
129
  msgid "capabilities were removed successfully"
130
  msgstr ""
131
 
132
- #: ../includes/classes/editor.php:203 ../includes/classes/editor.php:205
133
  msgid "Error: "
134
  msgstr ""
135
 
136
- #: ../includes/classes/editor.php:203
137
  msgid "Wrong request!"
138
  msgstr ""
139
 
140
- #: ../includes/classes/editor.php:205
141
  msgid "Role"
142
  msgstr ""
143
 
144
- #: ../includes/classes/editor.php:206
145
  msgid "does not exist"
146
  msgstr ""
147
 
148
- #: ../includes/classes/editor.php:687
149
  msgid "Role is updated successfully"
150
  msgstr ""
151
 
152
- #: ../includes/classes/editor.php:689
153
  msgid "Roles are updated for all network"
154
  msgstr ""
155
 
156
- #: ../includes/classes/editor.php:692
157
  msgid "Error occurred during role(s) update"
158
  msgstr ""
159
 
160
- #: ../includes/classes/editor.php:696
161
  msgid "User capabilities are updated successfully"
162
  msgstr ""
163
 
164
- #: ../includes/classes/editor.php:698
165
  msgid "Error occurred during user update"
166
  msgstr ""
167
 
168
- #: ../includes/classes/editor.php:782
169
  msgid "Error: Role ID is empty!"
170
  msgstr ""
171
 
172
- #: ../includes/classes/editor.php:791
173
  msgid ""
174
  "Error: Role ID must contain latin characters, digits, hyphens or underscore "
175
  "only!"
176
  msgstr ""
177
 
178
- #: ../includes/classes/editor.php:797
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:831
185
  #, php-format
186
  msgid "Role %s exists already"
187
  msgstr ""
188
 
189
- #: ../includes/classes/editor.php:850
190
  msgid "Error is encountered during new role create operation"
191
  msgstr ""
192
 
193
- #: ../includes/classes/editor.php:857
194
  #, php-format
195
  msgid "Role %s is created successfully"
196
  msgstr ""
197
 
198
- #: ../includes/classes/editor.php:890
199
  msgid "Error: Empty role display name is not allowed."
200
  msgstr ""
201
 
202
- #: ../includes/classes/editor.php:897
203
  #, php-format
204
  msgid "Role %s does not exists"
205
  msgstr ""
206
 
207
- #: ../includes/classes/editor.php:910
208
  #, php-format
209
  msgid "Role %s is renamed to %s successfully"
210
  msgstr ""
211
 
212
- #: ../includes/classes/editor.php:975
213
  msgid "Role does not exist"
214
  msgstr ""
215
 
216
- #: ../includes/classes/editor.php:979
217
  msgid "You can not delete role"
218
  msgstr ""
219
 
220
- #: ../includes/classes/editor.php:1005
221
  msgid "There are no roles for deletion"
222
  msgstr ""
223
 
224
- #: ../includes/classes/editor.php:1033
225
  msgid "Wrong role ID"
226
  msgstr ""
227
 
228
- #: ../includes/classes/editor.php:1042
229
  msgid "Unused roles are deleted successfully"
230
  msgstr ""
231
 
232
- #: ../includes/classes/editor.php:1044
233
  #, php-format
234
  msgid "Role %s is deleted successfully"
235
  msgstr ""
236
 
237
- #: ../includes/classes/editor.php:1072
238
  msgid ""
239
- "This method is only for the single site of WordPress multisite installation."
240
  msgstr ""
241
 
242
- #: ../includes/classes/editor.php:1076
243
  msgid "Wrong request. Default role can not be empty"
244
  msgstr ""
245
 
246
- #: ../includes/classes/editor.php:1088
247
  #, php-format
248
  msgid "Default role for new users is set to %s successfully"
249
  msgstr ""
250
 
251
- #: ../includes/classes/editor.php:1090
252
  msgid "Error encountered during default role change operation"
253
  msgstr ""
254
 
255
- #: ../includes/classes/editor.php:1093
256
  msgid "Can not set Administrator role as a default one"
257
  msgstr ""
258
 
259
- #: ../includes/classes/editor.php:1095
260
  msgid "This role does not exist - "
261
  msgstr ""
262
 
263
- #: ../includes/classes/editor.php:1144
264
  msgid "User Roles are restored to WordPress default values. "
265
  msgstr ""
266
 
267
- #: ../includes/classes/editor.php:1276
268
  msgid "Error: wrong request"
269
  msgstr ""
270
 
271
- #: ../includes/classes/editor.php:1305
272
  msgid "Editor"
273
  msgstr ""
274
 
275
- #: ../includes/classes/editor.php:1306
276
  msgid "Author"
277
  msgstr ""
278
 
279
- #: ../includes/classes/editor.php:1307
280
  msgid "Contributor"
281
  msgstr ""
282
 
283
- #: ../includes/classes/editor.php:1308
284
  msgid "Subscriber"
285
  msgstr ""
286
 
287
- #: ../includes/classes/editor.php:1310
288
  msgid "Switch themes"
289
  msgstr ""
290
 
291
- #: ../includes/classes/editor.php:1311
292
  msgid "Edit themes"
293
  msgstr ""
294
 
295
- #: ../includes/classes/editor.php:1312
296
  msgid "Activate plugins"
297
  msgstr ""
298
 
299
- #: ../includes/classes/editor.php:1313
300
  msgid "Edit plugins"
301
  msgstr ""
302
 
303
- #: ../includes/classes/editor.php:1314
304
  msgid "Edit users"
305
  msgstr ""
306
 
307
- #: ../includes/classes/editor.php:1315
308
  msgid "Edit files"
309
  msgstr ""
310
 
311
- #: ../includes/classes/editor.php:1316
312
  msgid "Manage options"
313
  msgstr ""
314
 
315
- #: ../includes/classes/editor.php:1317
316
  msgid "Moderate comments"
317
  msgstr ""
318
 
319
- #: ../includes/classes/editor.php:1318
320
  msgid "Manage categories"
321
  msgstr ""
322
 
323
- #: ../includes/classes/editor.php:1319
324
  msgid "Manage links"
325
  msgstr ""
326
 
327
- #: ../includes/classes/editor.php:1320
328
  msgid "Upload files"
329
  msgstr ""
330
 
331
- #: ../includes/classes/editor.php:1321
332
  msgid "Import"
333
  msgstr ""
334
 
335
- #: ../includes/classes/editor.php:1322
336
  msgid "Unfiltered html"
337
  msgstr ""
338
 
339
- #: ../includes/classes/editor.php:1323
340
  msgid "Edit posts"
341
  msgstr ""
342
 
343
- #: ../includes/classes/editor.php:1324
344
  msgid "Edit others posts"
345
  msgstr ""
346
 
347
- #: ../includes/classes/editor.php:1325
348
  msgid "Edit published posts"
349
  msgstr ""
350
 
351
- #: ../includes/classes/editor.php:1326
352
  msgid "Publish posts"
353
  msgstr ""
354
 
355
- #: ../includes/classes/editor.php:1327
356
  msgid "Edit pages"
357
  msgstr ""
358
 
359
- #: ../includes/classes/editor.php:1328
360
  msgid "Read"
361
  msgstr ""
362
 
363
- #: ../includes/classes/editor.php:1329
364
  msgid "Level 10"
365
  msgstr ""
366
 
367
- #: ../includes/classes/editor.php:1330
368
  msgid "Level 9"
369
  msgstr ""
370
 
371
- #: ../includes/classes/editor.php:1331
372
  msgid "Level 8"
373
  msgstr ""
374
 
375
- #: ../includes/classes/editor.php:1332
376
  msgid "Level 7"
377
  msgstr ""
378
 
379
- #: ../includes/classes/editor.php:1333
380
  msgid "Level 6"
381
  msgstr ""
382
 
383
- #: ../includes/classes/editor.php:1334
384
  msgid "Level 5"
385
  msgstr ""
386
 
387
- #: ../includes/classes/editor.php:1335
388
  msgid "Level 4"
389
  msgstr ""
390
 
391
- #: ../includes/classes/editor.php:1336
392
  msgid "Level 3"
393
  msgstr ""
394
 
395
- #: ../includes/classes/editor.php:1337
396
  msgid "Level 2"
397
  msgstr ""
398
 
399
- #: ../includes/classes/editor.php:1338
400
  msgid "Level 1"
401
  msgstr ""
402
 
403
- #: ../includes/classes/editor.php:1339
404
  msgid "Level 0"
405
  msgstr ""
406
 
407
- #: ../includes/classes/editor.php:1340
408
  msgid "Edit others pages"
409
  msgstr ""
410
 
411
- #: ../includes/classes/editor.php:1341
412
  msgid "Edit published pages"
413
  msgstr ""
414
 
415
- #: ../includes/classes/editor.php:1342
416
  msgid "Publish pages"
417
  msgstr ""
418
 
419
- #: ../includes/classes/editor.php:1343
420
  msgid "Delete pages"
421
  msgstr ""
422
 
423
- #: ../includes/classes/editor.php:1344
424
  msgid "Delete others pages"
425
  msgstr ""
426
 
427
- #: ../includes/classes/editor.php:1345
428
  msgid "Delete published pages"
429
  msgstr ""
430
 
431
- #: ../includes/classes/editor.php:1346
432
  msgid "Delete posts"
433
  msgstr ""
434
 
435
- #: ../includes/classes/editor.php:1347
436
  msgid "Delete others posts"
437
  msgstr ""
438
 
439
- #: ../includes/classes/editor.php:1348
440
  msgid "Delete published posts"
441
  msgstr ""
442
 
443
- #: ../includes/classes/editor.php:1349
444
  msgid "Delete private posts"
445
  msgstr ""
446
 
447
- #: ../includes/classes/editor.php:1350
448
  msgid "Edit private posts"
449
  msgstr ""
450
 
451
- #: ../includes/classes/editor.php:1351
452
  msgid "Read private posts"
453
  msgstr ""
454
 
455
- #: ../includes/classes/editor.php:1352
456
  msgid "Delete private pages"
457
  msgstr ""
458
 
459
- #: ../includes/classes/editor.php:1353
460
  msgid "Edit private pages"
461
  msgstr ""
462
 
463
- #: ../includes/classes/editor.php:1354
464
  msgid "Read private pages"
465
  msgstr ""
466
 
467
- #: ../includes/classes/editor.php:1355
468
  msgid "Delete users"
469
  msgstr ""
470
 
471
- #: ../includes/classes/editor.php:1356
472
  msgid "Create users"
473
  msgstr ""
474
 
475
- #: ../includes/classes/editor.php:1357
476
  msgid "Unfiltered upload"
477
  msgstr ""
478
 
479
- #: ../includes/classes/editor.php:1358
480
  msgid "Edit dashboard"
481
  msgstr ""
482
 
483
- #: ../includes/classes/editor.php:1359
484
  msgid "Update plugins"
485
  msgstr ""
486
 
487
- #: ../includes/classes/editor.php:1360
488
  msgid "Delete plugins"
489
  msgstr ""
490
 
491
- #: ../includes/classes/editor.php:1361
492
  msgid "Install plugins"
493
  msgstr ""
494
 
495
- #: ../includes/classes/editor.php:1362
496
  msgid "Update themes"
497
  msgstr ""
498
 
499
- #: ../includes/classes/editor.php:1363
500
  msgid "Install themes"
501
  msgstr ""
502
 
503
- #: ../includes/classes/editor.php:1364
504
  msgid "Update core"
505
  msgstr ""
506
 
507
- #: ../includes/classes/editor.php:1365
508
  msgid "List users"
509
  msgstr ""
510
 
511
- #: ../includes/classes/editor.php:1366
512
  msgid "Remove users"
513
  msgstr ""
514
 
515
- #: ../includes/classes/editor.php:1367
516
  msgid "Add users"
517
  msgstr ""
518
 
519
- #: ../includes/classes/editor.php:1368
520
  msgid "Promote users"
521
  msgstr ""
522
 
523
- #: ../includes/classes/editor.php:1369
524
  msgid "Edit theme options"
525
  msgstr ""
526
 
527
- #: ../includes/classes/editor.php:1370
528
  msgid "Delete themes"
529
  msgstr ""
530
 
531
- #: ../includes/classes/editor.php:1371
532
  msgid "Export"
533
  msgstr ""
534
 
@@ -721,7 +721,7 @@ msgstr ""
721
  msgid ""
722
  "Capabilities like \"level_0\", \"level_1\" are deprecated and are not used "
723
  "by WordPress. They are left at the user roles for the compatibility purpose "
724
- "with the old themes and plugins code. Turning on this option will show those "
725
  "deprecated capabilities."
726
  msgstr ""
727
 
@@ -741,7 +741,7 @@ msgstr ""
741
  msgid ""
742
  "If turned off - capabilities section of selected user is shown in readonly "
743
  "mode. Administrator can not assign capabilities to the user directly. He "
744
- "should make it using roles only."
745
  msgstr ""
746
 
747
  #: ../includes/classes/screen-help.php:47 ../includes/settings-template.php:141
3
  msgstr ""
4
  "Project-Id-Version: User Role Editor 4.51\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2020-03-20 14:42+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:1226
26
  #: ../includes/classes/user-role-editor.php:566
27
  #: ../includes/classes/user-role-editor.php:597
28
  msgid "User Role Editor"
94
  msgstr ""
95
 
96
  #: ../includes/classes/capability.php:79 ../includes/classes/capability.php:190
97
+ #: ../includes/classes/editor.php:742 ../includes/classes/editor.php:811
98
+ #: ../includes/classes/editor.php:871 ../includes/classes/editor.php:1017
99
+ #: ../includes/classes/editor.php:1059
100
  #: ../includes/classes/user-role-editor.php:650
101
  msgid "Insufficient permissions to work with User Role Editor"
102
  msgstr ""
129
  msgid "capabilities were removed successfully"
130
  msgstr ""
131
 
132
+ #: ../includes/classes/editor.php:192 ../includes/classes/editor.php:194
133
  msgid "Error: "
134
  msgstr ""
135
 
136
+ #: ../includes/classes/editor.php:192
137
  msgid "Wrong request!"
138
  msgstr ""
139
 
140
+ #: ../includes/classes/editor.php:194
141
  msgid "Role"
142
  msgstr ""
143
 
144
+ #: ../includes/classes/editor.php:195
145
  msgid "does not exist"
146
  msgstr ""
147
 
148
+ #: ../includes/classes/editor.php:680
149
  msgid "Role is updated successfully"
150
  msgstr ""
151
 
152
+ #: ../includes/classes/editor.php:682
153
  msgid "Roles are updated for all network"
154
  msgstr ""
155
 
156
+ #: ../includes/classes/editor.php:685
157
  msgid "Error occurred during role(s) update"
158
  msgstr ""
159
 
160
+ #: ../includes/classes/editor.php:689
161
  msgid "User capabilities are updated successfully"
162
  msgstr ""
163
 
164
+ #: ../includes/classes/editor.php:691
165
  msgid "Error occurred during user update"
166
  msgstr ""
167
 
168
+ #: ../includes/classes/editor.php:775
169
  msgid "Error: Role ID is empty!"
170
  msgstr ""
171
 
172
+ #: ../includes/classes/editor.php:784
173
  msgid ""
174
  "Error: Role ID must contain latin characters, digits, hyphens or underscore "
175
  "only!"
176
  msgstr ""
177
 
178
+ #: ../includes/classes/editor.php:790
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:824
185
  #, php-format
186
  msgid "Role %s exists already"
187
  msgstr ""
188
 
189
+ #: ../includes/classes/editor.php:843
190
  msgid "Error is encountered during new role create operation"
191
  msgstr ""
192
 
193
+ #: ../includes/classes/editor.php:850
194
  #, php-format
195
  msgid "Role %s is created successfully"
196
  msgstr ""
197
 
198
+ #: ../includes/classes/editor.php:883
199
  msgid "Error: Empty role display name is not allowed."
200
  msgstr ""
201
 
202
+ #: ../includes/classes/editor.php:890
203
  #, php-format
204
  msgid "Role %s does not exists"
205
  msgstr ""
206
 
207
+ #: ../includes/classes/editor.php:903
208
  #, php-format
209
  msgid "Role %s is renamed to %s successfully"
210
  msgstr ""
211
 
212
+ #: ../includes/classes/editor.php:968
213
  msgid "Role does not exist"
214
  msgstr ""
215
 
216
+ #: ../includes/classes/editor.php:972
217
  msgid "You can not delete role"
218
  msgstr ""
219
 
220
+ #: ../includes/classes/editor.php:998
221
  msgid "There are no roles for deletion"
222
  msgstr ""
223
 
224
+ #: ../includes/classes/editor.php:1026
225
  msgid "Wrong role ID"
226
  msgstr ""
227
 
228
+ #: ../includes/classes/editor.php:1035
229
  msgid "Unused roles are deleted successfully"
230
  msgstr ""
231
 
232
+ #: ../includes/classes/editor.php:1037
233
  #, php-format
234
  msgid "Role %s is deleted successfully"
235
  msgstr ""
236
 
237
+ #: ../includes/classes/editor.php:1065
238
  msgid ""
239
+ "This method is only for a single site of WordPress multisite installation."
240
  msgstr ""
241
 
242
+ #: ../includes/classes/editor.php:1069
243
  msgid "Wrong request. Default role can not be empty"
244
  msgstr ""
245
 
246
+ #: ../includes/classes/editor.php:1081
247
  #, php-format
248
  msgid "Default role for new users is set to %s successfully"
249
  msgstr ""
250
 
251
+ #: ../includes/classes/editor.php:1083
252
  msgid "Error encountered during default role change operation"
253
  msgstr ""
254
 
255
+ #: ../includes/classes/editor.php:1086
256
  msgid "Can not set Administrator role as a default one"
257
  msgstr ""
258
 
259
+ #: ../includes/classes/editor.php:1088
260
  msgid "This role does not exist - "
261
  msgstr ""
262
 
263
+ #: ../includes/classes/editor.php:1133
264
  msgid "User Roles are restored to WordPress default values. "
265
  msgstr ""
266
 
267
+ #: ../includes/classes/editor.php:1265
268
  msgid "Error: wrong request"
269
  msgstr ""
270
 
271
+ #: ../includes/classes/editor.php:1294
272
  msgid "Editor"
273
  msgstr ""
274
 
275
+ #: ../includes/classes/editor.php:1295
276
  msgid "Author"
277
  msgstr ""
278
 
279
+ #: ../includes/classes/editor.php:1296
280
  msgid "Contributor"
281
  msgstr ""
282
 
283
+ #: ../includes/classes/editor.php:1297
284
  msgid "Subscriber"
285
  msgstr ""
286
 
287
+ #: ../includes/classes/editor.php:1299
288
  msgid "Switch themes"
289
  msgstr ""
290
 
291
+ #: ../includes/classes/editor.php:1300
292
  msgid "Edit themes"
293
  msgstr ""
294
 
295
+ #: ../includes/classes/editor.php:1301
296
  msgid "Activate plugins"
297
  msgstr ""
298
 
299
+ #: ../includes/classes/editor.php:1302
300
  msgid "Edit plugins"
301
  msgstr ""
302
 
303
+ #: ../includes/classes/editor.php:1303
304
  msgid "Edit users"
305
  msgstr ""
306
 
307
+ #: ../includes/classes/editor.php:1304
308
  msgid "Edit files"
309
  msgstr ""
310
 
311
+ #: ../includes/classes/editor.php:1305
312
  msgid "Manage options"
313
  msgstr ""
314
 
315
+ #: ../includes/classes/editor.php:1306
316
  msgid "Moderate comments"
317
  msgstr ""
318
 
319
+ #: ../includes/classes/editor.php:1307
320
  msgid "Manage categories"
321
  msgstr ""
322
 
323
+ #: ../includes/classes/editor.php:1308
324
  msgid "Manage links"
325
  msgstr ""
326
 
327
+ #: ../includes/classes/editor.php:1309
328
  msgid "Upload files"
329
  msgstr ""
330
 
331
+ #: ../includes/classes/editor.php:1310
332
  msgid "Import"
333
  msgstr ""
334
 
335
+ #: ../includes/classes/editor.php:1311
336
  msgid "Unfiltered html"
337
  msgstr ""
338
 
339
+ #: ../includes/classes/editor.php:1312
340
  msgid "Edit posts"
341
  msgstr ""
342
 
343
+ #: ../includes/classes/editor.php:1313
344
  msgid "Edit others posts"
345
  msgstr ""
346
 
347
+ #: ../includes/classes/editor.php:1314
348
  msgid "Edit published posts"
349
  msgstr ""
350
 
351
+ #: ../includes/classes/editor.php:1315
352
  msgid "Publish posts"
353
  msgstr ""
354
 
355
+ #: ../includes/classes/editor.php:1316
356
  msgid "Edit pages"
357
  msgstr ""
358
 
359
+ #: ../includes/classes/editor.php:1317
360
  msgid "Read"
361
  msgstr ""
362
 
363
+ #: ../includes/classes/editor.php:1318
364
  msgid "Level 10"
365
  msgstr ""
366
 
367
+ #: ../includes/classes/editor.php:1319
368
  msgid "Level 9"
369
  msgstr ""
370
 
371
+ #: ../includes/classes/editor.php:1320
372
  msgid "Level 8"
373
  msgstr ""
374
 
375
+ #: ../includes/classes/editor.php:1321
376
  msgid "Level 7"
377
  msgstr ""
378
 
379
+ #: ../includes/classes/editor.php:1322
380
  msgid "Level 6"
381
  msgstr ""
382
 
383
+ #: ../includes/classes/editor.php:1323
384
  msgid "Level 5"
385
  msgstr ""
386
 
387
+ #: ../includes/classes/editor.php:1324
388
  msgid "Level 4"
389
  msgstr ""
390
 
391
+ #: ../includes/classes/editor.php:1325
392
  msgid "Level 3"
393
  msgstr ""
394
 
395
+ #: ../includes/classes/editor.php:1326
396
  msgid "Level 2"
397
  msgstr ""
398
 
399
+ #: ../includes/classes/editor.php:1327
400
  msgid "Level 1"
401
  msgstr ""
402
 
403
+ #: ../includes/classes/editor.php:1328
404
  msgid "Level 0"
405
  msgstr ""
406
 
407
+ #: ../includes/classes/editor.php:1329
408
  msgid "Edit others pages"
409
  msgstr ""
410
 
411
+ #: ../includes/classes/editor.php:1330
412
  msgid "Edit published pages"
413
  msgstr ""
414
 
415
+ #: ../includes/classes/editor.php:1331
416
  msgid "Publish pages"
417
  msgstr ""
418
 
419
+ #: ../includes/classes/editor.php:1332
420
  msgid "Delete pages"
421
  msgstr ""
422
 
423
+ #: ../includes/classes/editor.php:1333
424
  msgid "Delete others pages"
425
  msgstr ""
426
 
427
+ #: ../includes/classes/editor.php:1334
428
  msgid "Delete published pages"
429
  msgstr ""
430
 
431
+ #: ../includes/classes/editor.php:1335
432
  msgid "Delete posts"
433
  msgstr ""
434
 
435
+ #: ../includes/classes/editor.php:1336
436
  msgid "Delete others posts"
437
  msgstr ""
438
 
439
+ #: ../includes/classes/editor.php:1337
440
  msgid "Delete published posts"
441
  msgstr ""
442
 
443
+ #: ../includes/classes/editor.php:1338
444
  msgid "Delete private posts"
445
  msgstr ""
446
 
447
+ #: ../includes/classes/editor.php:1339
448
  msgid "Edit private posts"
449
  msgstr ""
450
 
451
+ #: ../includes/classes/editor.php:1340
452
  msgid "Read private posts"
453
  msgstr ""
454
 
455
+ #: ../includes/classes/editor.php:1341
456
  msgid "Delete private pages"
457
  msgstr ""
458
 
459
+ #: ../includes/classes/editor.php:1342
460
  msgid "Edit private pages"
461
  msgstr ""
462
 
463
+ #: ../includes/classes/editor.php:1343
464
  msgid "Read private pages"
465
  msgstr ""
466
 
467
+ #: ../includes/classes/editor.php:1344
468
  msgid "Delete users"
469
  msgstr ""
470
 
471
+ #: ../includes/classes/editor.php:1345
472
  msgid "Create users"
473
  msgstr ""
474
 
475
+ #: ../includes/classes/editor.php:1346
476
  msgid "Unfiltered upload"
477
  msgstr ""
478
 
479
+ #: ../includes/classes/editor.php:1347
480
  msgid "Edit dashboard"
481
  msgstr ""
482
 
483
+ #: ../includes/classes/editor.php:1348
484
  msgid "Update plugins"
485
  msgstr ""
486
 
487
+ #: ../includes/classes/editor.php:1349
488
  msgid "Delete plugins"
489
  msgstr ""
490
 
491
+ #: ../includes/classes/editor.php:1350
492
  msgid "Install plugins"
493
  msgstr ""
494
 
495
+ #: ../includes/classes/editor.php:1351
496
  msgid "Update themes"
497
  msgstr ""
498
 
499
+ #: ../includes/classes/editor.php:1352
500
  msgid "Install themes"
501
  msgstr ""
502
 
503
+ #: ../includes/classes/editor.php:1353
504
  msgid "Update core"
505
  msgstr ""
506
 
507
+ #: ../includes/classes/editor.php:1354
508
  msgid "List users"
509
  msgstr ""
510
 
511
+ #: ../includes/classes/editor.php:1355
512
  msgid "Remove users"
513
  msgstr ""
514
 
515
+ #: ../includes/classes/editor.php:1356
516
  msgid "Add users"
517
  msgstr ""
518
 
519
+ #: ../includes/classes/editor.php:1357
520
  msgid "Promote users"
521
  msgstr ""
522
 
523
+ #: ../includes/classes/editor.php:1358
524
  msgid "Edit theme options"
525
  msgstr ""
526
 
527
+ #: ../includes/classes/editor.php:1359
528
  msgid "Delete themes"
529
  msgstr ""
530
 
531
+ #: ../includes/classes/editor.php:1360
532
  msgid "Export"
533
  msgstr ""
534
 
721
  msgid ""
722
  "Capabilities like \"level_0\", \"level_1\" are deprecated and are not used "
723
  "by WordPress. They are left at the user roles for the compatibility purpose "
724
+ "with old themes and plugins code. Turning on this option will show those "
725
  "deprecated capabilities."
726
  msgstr ""
727
 
741
  msgid ""
742
  "If turned off - capabilities section of selected user is shown in readonly "
743
  "mode. Administrator can not assign capabilities to the user directly. He "
744
+ "should do it using roles only."
745
  msgstr ""
746
 
747
  #: ../includes/classes/screen-help.php:47 ../includes/settings-template.php:141
license.txt CHANGED
@@ -1,6 +1,6 @@
1
  User Role Editor WordPress plugin
2
 
3
- Copyright 2009-2017 by Vladimir Garagulia - support@role-editor.com
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@ permission notices:
21
 
22
  WordPress - Web publishing software
23
 
24
- Copyright 2003-2010 by the contributors
25
 
26
  WordPress is released under the GPL
27
 
1
  User Role Editor WordPress plugin
2
 
3
+ Copyright 2009-2020 by Vladimir Garagulia - support@role-editor.com
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License as published by
21
 
22
  WordPress - Web publishing software
23
 
24
+ Copyright 2003-2020 by the contributors
25
 
26
  WordPress is released under the GPL
27
 
readme.txt CHANGED
@@ -3,9 +3,9 @@ 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&currency_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.3.2
7
- Stable tag: 4.53
8
- Requires PHP: 5.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -81,7 +81,12 @@ https://translate.wordpress.org/projects/wp-plugins/user-role-editor/
81
 
82
  == Changelog =
83
 
84
- = [4.53] 01.02.2019 =
 
 
 
 
 
85
  * Update: "Add role", "Delete role", "Rename role", "Add capability", "Delete capability" do not reload full page on completion, but use AJAX for data exchange with server and refresh parts of the page via JavaScript.
86
  * Update: Multisite: "Allow non super administrators to create, edit, and delete users" option: priority for 'map_meta_cap' filter priority was raised from 1 to 99, in order make possible to overwrite changes made by other plugins, like WooCommerce.
87
  * Fix: Some English grammar mistakes.
@@ -104,6 +109,7 @@ You can find more information about "User Role Editor" plugin at [this page](htt
104
  I am ready to answer on your questions about plugin usage. Use [plugin page comments](http://www.shinephp.com/user-role-editor-wordpress-plugin/) for that.
105
 
106
  == Upgrade Notice ==
107
- = [4.53] 01.02.2019 =
108
- * Update: "Add role", "Delete role", "Rename role", "Add capability", "Delete capability" do not reload full page on completion, but use AJAX for data exchange with server and refresh parts of the page via JavaScript.
109
- * Update: Multisite: "Allow non super administrators to create, edit, and delete users" option: priority for 'map_meta_cap' filter priority was raised from 1 to 99, in order make possible to overwrite changes made by other plugins, like WooCommerce.
 
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&currency_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.4
7
+ Stable tag: 4.53.1
8
+ Requires PHP: 5.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
81
 
82
  == Changelog =
83
 
84
+ = [4.53.1] 22.03.2020 =
85
+ * New: "Hide Pro banner" checkbox works via AJAX without full page refresh.
86
+ * Fix: Undefined variable: $message at wp-content/plugins/user-role-editor/includes/classes/editor.php:898
87
+ * Update: Few English grammar enhancements.
88
+
89
+ = [4.53] 01.02.2020 =
90
  * Update: "Add role", "Delete role", "Rename role", "Add capability", "Delete capability" do not reload full page on completion, but use AJAX for data exchange with server and refresh parts of the page via JavaScript.
91
  * Update: Multisite: "Allow non super administrators to create, edit, and delete users" option: priority for 'map_meta_cap' filter priority was raised from 1 to 99, in order make possible to overwrite changes made by other plugins, like WooCommerce.
92
  * Fix: Some English grammar mistakes.
109
  I am ready to answer on your questions about plugin usage. Use [plugin page comments](http://www.shinephp.com/user-role-editor-wordpress-plugin/) for that.
110
 
111
  == Upgrade Notice ==
112
+ = [4.53.1] 22.03.2020 =
113
+ * New: "Hide Pro banner" checkbox works via AJAX without full page refresh.
114
+ * Fix: Undefined variable: message at wp-content/plugins/user-role-editor/includes/classes/editor.php:898
115
+ * Update: Few English grammar enhancements.
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.53
7
  Author: Vladimir Garagulya
8
  Author URI: https://www.role-editor.com
9
  Text Domain: user-role-editor
@@ -11,7 +11,7 @@ Domain Path: /lang/
11
  */
12
 
13
  /*
14
- Copyright 2010-2019 Vladimir Garagulya (email: support@role-editor.com)
15
  */
16
 
17
  if ( ! function_exists( 'get_option' ) ) {
@@ -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.53' );
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.53.1
7
  Author: Vladimir Garagulya
8
  Author URI: https://www.role-editor.com
9
  Text Domain: user-role-editor
11
  */
12
 
13
  /*
14
+ Copyright 2010-2020 Vladimir Garagulya (email: support@role-editor.com)
15
  */
16
 
17
  if ( ! function_exists( 'get_option' ) ) {
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.53.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__ ) );