Capability Manager Enhanced - Version 2.5.1

Version Description

  • 13 Sep 2022 =
    • Added : Ability to block user login by role #510
    • Update : Add disable WooCommerce admin restrictions in role settings #549
    • Update : Hide taxonomy screen option for editor features #554
    • Update : Hide metabox screen option for editor features #556
    • Fixed : It's possible to access customize page even after blocking with admin menu #559
    • Fixed : Uncaught error: Illegal offset type in isset or empty #564
    • Update : Translation Note Suggestion for "Editor" #567
    • Update : Capability-FR-IT-Translation_updates-August15_2022 #551
Download this release

Release Info

Developer olatechpro
Plugin Icon 128x128 Capability Manager Enhanced
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.5.0 to 2.5.1

capsman-enhanced.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: PublishPress Capabilities
4
  * Plugin URI: https://publishpress.com/capability-manager/
5
  * Description: Manage WordPress role definitions, per-site or network-wide. Organizes post capabilities by post type and operation.
6
- * Version: 2.5.0
7
  * Author: PublishPress
8
  * Author URI: https://publishpress.com/
9
  * Text Domain: capsman-enhanced
@@ -44,7 +44,7 @@ if (class_exists('PublishPressInstanceProtection\\Config')) {
44
  }
45
 
46
  if (!defined('CAPSMAN_VERSION')) {
47
- define('CAPSMAN_VERSION', '2.5.0');
48
  define('CAPSMAN_ENH_VERSION', CAPSMAN_VERSION);
49
  define('PUBLISHPRESS_CAPS_VERSION', CAPSMAN_VERSION);
50
  }
3
  * Plugin Name: PublishPress Capabilities
4
  * Plugin URI: https://publishpress.com/capability-manager/
5
  * Description: Manage WordPress role definitions, per-site or network-wide. Organizes post capabilities by post type and operation.
6
+ * Version: 2.5.1
7
  * Author: PublishPress
8
  * Author URI: https://publishpress.com/
9
  * Text Domain: capsman-enhanced
44
  }
45
 
46
  if (!defined('CAPSMAN_VERSION')) {
47
+ define('CAPSMAN_VERSION', '2.5.1');
48
  define('CAPSMAN_ENH_VERSION', CAPSMAN_VERSION);
49
  define('PUBLISHPRESS_CAPS_VERSION', CAPSMAN_VERSION);
50
  }
composer.lock CHANGED
@@ -143,16 +143,16 @@
143
  },
144
  {
145
  "name": "publishpress/wordpress-banners",
146
- "version": "v1.3.0",
147
  "source": {
148
  "type": "git",
149
  "url": "https://github.com/publishpress/wordpress-banners.git",
150
- "reference": "08e20b98320367bdbc59105095c72e7ccbf968f1"
151
  },
152
  "dist": {
153
  "type": "zip",
154
- "url": "https://api.github.com/repos/publishpress/wordpress-banners/zipball/08e20b98320367bdbc59105095c72e7ccbf968f1",
155
- "reference": "08e20b98320367bdbc59105095c72e7ccbf968f1",
156
  "shasum": ""
157
  },
158
  "require": {
@@ -178,9 +178,9 @@
178
  "homepage": "http://publishpress.com/",
179
  "support": {
180
  "issues": "https://github.com/publishpress/wordpress-banners/issues",
181
- "source": "https://github.com/publishpress/wordpress-banners/tree/v1.3.0"
182
  },
183
- "time": "2022-06-03T15:45:27+00:00"
184
  },
185
  {
186
  "name": "publishpress/wordpress-reviews",
@@ -1257,16 +1257,16 @@
1257
  },
1258
  {
1259
  "name": "symfony/console",
1260
- "version": "v5.4.11",
1261
  "source": {
1262
  "type": "git",
1263
  "url": "https://github.com/symfony/console.git",
1264
- "reference": "535846c7ee6bc4dd027ca0d93220601456734b10"
1265
  },
1266
  "dist": {
1267
  "type": "zip",
1268
- "url": "https://api.github.com/repos/symfony/console/zipball/535846c7ee6bc4dd027ca0d93220601456734b10",
1269
- "reference": "535846c7ee6bc4dd027ca0d93220601456734b10",
1270
  "shasum": ""
1271
  },
1272
  "require": {
@@ -1336,7 +1336,7 @@
1336
  "terminal"
1337
  ],
1338
  "support": {
1339
- "source": "https://github.com/symfony/console/tree/v5.4.11"
1340
  },
1341
  "funding": [
1342
  {
@@ -1352,7 +1352,7 @@
1352
  "type": "tidelift"
1353
  }
1354
  ],
1355
- "time": "2022-07-22T10:42:43+00:00"
1356
  },
1357
  {
1358
  "name": "symfony/deprecation-contracts",
@@ -1587,16 +1587,16 @@
1587
  },
1588
  {
1589
  "name": "symfony/filesystem",
1590
- "version": "v5.4.11",
1591
  "source": {
1592
  "type": "git",
1593
  "url": "https://github.com/symfony/filesystem.git",
1594
- "reference": "6699fb0228d1bc35b12aed6dd5e7455457609ddd"
1595
  },
1596
  "dist": {
1597
  "type": "zip",
1598
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/6699fb0228d1bc35b12aed6dd5e7455457609ddd",
1599
- "reference": "6699fb0228d1bc35b12aed6dd5e7455457609ddd",
1600
  "shasum": ""
1601
  },
1602
  "require": {
@@ -1631,7 +1631,7 @@
1631
  "description": "Provides basic utilities for the filesystem",
1632
  "homepage": "https://symfony.com",
1633
  "support": {
1634
- "source": "https://github.com/symfony/filesystem/tree/v5.4.11"
1635
  },
1636
  "funding": [
1637
  {
@@ -1647,7 +1647,7 @@
1647
  "type": "tidelift"
1648
  }
1649
  ],
1650
- "time": "2022-07-20T13:00:38+00:00"
1651
  },
1652
  {
1653
  "name": "symfony/finder",
@@ -2347,16 +2347,16 @@
2347
  },
2348
  {
2349
  "name": "symfony/string",
2350
- "version": "v5.4.11",
2351
  "source": {
2352
  "type": "git",
2353
  "url": "https://github.com/symfony/string.git",
2354
- "reference": "5eb661e49ad389e4ae2b6e4df8d783a8a6548322"
2355
  },
2356
  "dist": {
2357
  "type": "zip",
2358
- "url": "https://api.github.com/repos/symfony/string/zipball/5eb661e49ad389e4ae2b6e4df8d783a8a6548322",
2359
- "reference": "5eb661e49ad389e4ae2b6e4df8d783a8a6548322",
2360
  "shasum": ""
2361
  },
2362
  "require": {
@@ -2413,7 +2413,7 @@
2413
  "utf8"
2414
  ],
2415
  "support": {
2416
- "source": "https://github.com/symfony/string/tree/v5.4.11"
2417
  },
2418
  "funding": [
2419
  {
@@ -2429,20 +2429,20 @@
2429
  "type": "tidelift"
2430
  }
2431
  ],
2432
- "time": "2022-07-24T16:15:25+00:00"
2433
  },
2434
  {
2435
  "name": "symfony/yaml",
2436
- "version": "v5.4.11",
2437
  "source": {
2438
  "type": "git",
2439
  "url": "https://github.com/symfony/yaml.git",
2440
- "reference": "05d4ea560f3402c6c116afd99fdc66e60eda227e"
2441
  },
2442
  "dist": {
2443
  "type": "zip",
2444
- "url": "https://api.github.com/repos/symfony/yaml/zipball/05d4ea560f3402c6c116afd99fdc66e60eda227e",
2445
- "reference": "05d4ea560f3402c6c116afd99fdc66e60eda227e",
2446
  "shasum": ""
2447
  },
2448
  "require": {
@@ -2488,7 +2488,7 @@
2488
  "description": "Loads and dumps YAML files",
2489
  "homepage": "https://symfony.com",
2490
  "support": {
2491
- "source": "https://github.com/symfony/yaml/tree/v5.4.11"
2492
  },
2493
  "funding": [
2494
  {
@@ -2504,7 +2504,7 @@
2504
  "type": "tidelift"
2505
  }
2506
  ],
2507
- "time": "2022-06-27T16:58:25+00:00"
2508
  }
2509
  ],
2510
  "aliases": [],
143
  },
144
  {
145
  "name": "publishpress/wordpress-banners",
146
+ "version": "v1.3.1",
147
  "source": {
148
  "type": "git",
149
  "url": "https://github.com/publishpress/wordpress-banners.git",
150
+ "reference": "bcb5f9f00973d53e2db027f9a05c059f18743fae"
151
  },
152
  "dist": {
153
  "type": "zip",
154
+ "url": "https://api.github.com/repos/publishpress/wordpress-banners/zipball/bcb5f9f00973d53e2db027f9a05c059f18743fae",
155
+ "reference": "bcb5f9f00973d53e2db027f9a05c059f18743fae",
156
  "shasum": ""
157
  },
158
  "require": {
178
  "homepage": "http://publishpress.com/",
179
  "support": {
180
  "issues": "https://github.com/publishpress/wordpress-banners/issues",
181
+ "source": "https://github.com/publishpress/wordpress-banners/tree/v1.3.1"
182
  },
183
+ "time": "2022-08-15T18:07:23+00:00"
184
  },
185
  {
186
  "name": "publishpress/wordpress-reviews",
1257
  },
1258
  {
1259
  "name": "symfony/console",
1260
+ "version": "v5.4.12",
1261
  "source": {
1262
  "type": "git",
1263
  "url": "https://github.com/symfony/console.git",
1264
+ "reference": "c072aa8f724c3af64e2c7a96b796a4863d24dba1"
1265
  },
1266
  "dist": {
1267
  "type": "zip",
1268
+ "url": "https://api.github.com/repos/symfony/console/zipball/c072aa8f724c3af64e2c7a96b796a4863d24dba1",
1269
+ "reference": "c072aa8f724c3af64e2c7a96b796a4863d24dba1",
1270
  "shasum": ""
1271
  },
1272
  "require": {
1336
  "terminal"
1337
  ],
1338
  "support": {
1339
+ "source": "https://github.com/symfony/console/tree/v5.4.12"
1340
  },
1341
  "funding": [
1342
  {
1352
  "type": "tidelift"
1353
  }
1354
  ],
1355
+ "time": "2022-08-17T13:18:05+00:00"
1356
  },
1357
  {
1358
  "name": "symfony/deprecation-contracts",
1587
  },
1588
  {
1589
  "name": "symfony/filesystem",
1590
+ "version": "v5.4.12",
1591
  "source": {
1592
  "type": "git",
1593
  "url": "https://github.com/symfony/filesystem.git",
1594
+ "reference": "2d67c1f9a1937406a9be3171b4b22250c0a11447"
1595
  },
1596
  "dist": {
1597
  "type": "zip",
1598
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/2d67c1f9a1937406a9be3171b4b22250c0a11447",
1599
+ "reference": "2d67c1f9a1937406a9be3171b4b22250c0a11447",
1600
  "shasum": ""
1601
  },
1602
  "require": {
1631
  "description": "Provides basic utilities for the filesystem",
1632
  "homepage": "https://symfony.com",
1633
  "support": {
1634
+ "source": "https://github.com/symfony/filesystem/tree/v5.4.12"
1635
  },
1636
  "funding": [
1637
  {
1647
  "type": "tidelift"
1648
  }
1649
  ],
1650
+ "time": "2022-08-02T13:48:16+00:00"
1651
  },
1652
  {
1653
  "name": "symfony/finder",
2347
  },
2348
  {
2349
  "name": "symfony/string",
2350
+ "version": "v5.4.12",
2351
  "source": {
2352
  "type": "git",
2353
  "url": "https://github.com/symfony/string.git",
2354
+ "reference": "2fc515e512d721bf31ea76bd02fe23ada4640058"
2355
  },
2356
  "dist": {
2357
  "type": "zip",
2358
+ "url": "https://api.github.com/repos/symfony/string/zipball/2fc515e512d721bf31ea76bd02fe23ada4640058",
2359
+ "reference": "2fc515e512d721bf31ea76bd02fe23ada4640058",
2360
  "shasum": ""
2361
  },
2362
  "require": {
2413
  "utf8"
2414
  ],
2415
  "support": {
2416
+ "source": "https://github.com/symfony/string/tree/v5.4.12"
2417
  },
2418
  "funding": [
2419
  {
2429
  "type": "tidelift"
2430
  }
2431
  ],
2432
+ "time": "2022-08-12T17:03:11+00:00"
2433
  },
2434
  {
2435
  "name": "symfony/yaml",
2436
+ "version": "v5.4.12",
2437
  "source": {
2438
  "type": "git",
2439
  "url": "https://github.com/symfony/yaml.git",
2440
+ "reference": "7a3aa21ac8ab1a96cc6de5bbcab4bc9fc943b18c"
2441
  },
2442
  "dist": {
2443
  "type": "zip",
2444
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/7a3aa21ac8ab1a96cc6de5bbcab4bc9fc943b18c",
2445
+ "reference": "7a3aa21ac8ab1a96cc6de5bbcab4bc9fc943b18c",
2446
  "shasum": ""
2447
  },
2448
  "require": {
2488
  "description": "Loads and dumps YAML files",
2489
  "homepage": "https://symfony.com",
2490
  "support": {
2491
+ "source": "https://github.com/symfony/yaml/tree/v5.4.12"
2492
  },
2493
  "funding": [
2494
  {
2504
  "type": "tidelift"
2505
  }
2506
  ],
2507
+ "time": "2022-08-02T15:52:22+00:00"
2508
  }
2509
  ],
2510
  "aliases": [],
includes/features/editor-features-classic.php CHANGED
@@ -55,6 +55,15 @@
55
  continue;
56
  }
57
  } else {
 
 
 
 
 
 
 
 
 
58
  if (!post_type_supports($type_obj->name, $arr_feature['support_key'])) {
59
  continue;
60
  }
55
  continue;
56
  }
57
  } else {
58
+ /**
59
+ * Skip this element for post type if for some reason
60
+ * global $_wp_post_type_features is empty or doesn't
61
+ * contain data for current post type
62
+ */
63
+ if (empty($_wp_post_type_features) || !is_array($_wp_post_type_features) || !isset($_wp_post_type_features[$type_obj->name])) {
64
+ continue;
65
+ }
66
+ //skip this element if post type does not support feature
67
  if (!post_type_supports($type_obj->name, $arr_feature['support_key'])) {
68
  continue;
69
  }
includes/features/editor-features-gutenberg.php CHANGED
@@ -52,6 +52,15 @@
52
  continue;
53
  }
54
  } else {
 
 
 
 
 
 
 
 
 
55
  if (!post_type_supports($type_obj->name, $arr_feature['support_key'])) {
56
  continue;
57
  }
52
  continue;
53
  }
54
  } else {
55
+ /**
56
+ * Skip this element for post type if for some reason
57
+ * global $_wp_post_type_features is empty or doesn't
58
+ * contain data for current post type
59
+ */
60
+ if (empty($_wp_post_type_features) || !is_array($_wp_post_type_features) || !isset($_wp_post_type_features[$type_obj->name])) {
61
+ continue;
62
+ }
63
+ //skip this element if post type does not support feature
64
  if (!post_type_supports($type_obj->name, $arr_feature['support_key'])) {
65
  continue;
66
  }
includes/features/editor-features.php CHANGED
@@ -20,7 +20,7 @@
20
 
21
  require_once (dirname(CME_FILE) . '/includes/features/restrict-editor-features.php');
22
 
23
- global $capsman;
24
  $roles = $capsman->roles;
25
 
26
  $default_role = $capsman->get_last_role();
20
 
21
  require_once (dirname(CME_FILE) . '/includes/features/restrict-editor-features.php');
22
 
23
+ global $capsman, $_wp_post_type_features;
24
  $roles = $capsman->roles;
25
 
26
  $default_role = $capsman->get_last_role();
includes/features/restrict-editor-features.php CHANGED
@@ -90,7 +90,7 @@ class PP_Capabilities_Post_Features {
90
  $elements[esc_html__('Taxonomy Boxes', 'capsman-enhanced')] = [
91
  '#category' => [
92
  'label' => esc_html__('Categories', 'capsman-enhanced'),
93
- 'elements' => '#categories, #categorydiv, #categorydivsb, th.column-categories, td.categories',
94
  'support_key' => 'category',
95
  'support_type' => 'taxonomy'
96
  ],
@@ -102,7 +102,7 @@ class PP_Capabilities_Post_Features {
102
  ],
103
  '#post_tag' => [
104
  'label' => esc_html__('Tags', 'capsman-enhanced'),
105
- 'elements' => '#tags, #tagsdiv,#tagsdivsb,#tagsdiv-post_tag, th.column-tags, td.tags',
106
  'support_key' => 'post_tag',
107
  'support_type' => 'taxonomy'
108
  ],
@@ -115,7 +115,7 @@ class PP_Capabilities_Post_Features {
115
  if (!in_array($taxonomy, ['category', 'post_tag', 'link_category'])) {
116
  $elements[$k]["#{$tx_obj->name}div"] = [
117
  'label' => $tx_obj->label,
118
- 'elements' => "#{$tx_obj->name}, #{$tx_obj->name}div,#{$tx_obj->name}divsb,#tagsdiv-{$tx_obj->name}, th.column-{$tx_obj->name}, td.{$tx_obj->name}",
119
  'support_key' => $tx_obj->name,
120
  'support_type' => 'taxonomy'
121
  ];
@@ -147,16 +147,16 @@ class PP_Capabilities_Post_Features {
147
  $elements[esc_html__('Other Boxes', 'capsman-enhanced')] = [
148
  '#postimagediv' => [
149
  'label' => esc_html__('Featured Image', 'capsman-enhanced'),
150
- 'elements' => '#postimagediv',
151
  'support_key' => 'thumbnail'
152
  ],
153
  '#slug' => [
154
  'label' => esc_html__('Post Slug', 'capsman-enhanced'),
155
- 'elements' => '#slugdiv,#edit-slug-box'
156
  ],
157
  '#commentstatusdiv' => [
158
  'label' => esc_html__('Discussion', 'capsman-enhanced'),
159
- 'elements' => '#commentstatusdiv',
160
  'support_key' => 'comments'
161
  ],
162
  '#woocommerce-coupon-description' => [
@@ -212,6 +212,8 @@ class PP_Capabilities_Post_Features {
212
  'elements' => '#' . $id
213
  . ', #' . $id . 'div'
214
  . ', th.column-' . $id
 
 
215
  . ', td.' . $id,
216
  'support_key' => $feature
217
  ]; //th and td for raw in edit screen
90
  $elements[esc_html__('Taxonomy Boxes', 'capsman-enhanced')] = [
91
  '#category' => [
92
  'label' => esc_html__('Categories', 'capsman-enhanced'),
93
+ 'elements' => '#categories, #categorydiv, #categorydivsb, th.column-categories, td.categories, #screen-options-wrap label[for=categorydiv-hide]',
94
  'support_key' => 'category',
95
  'support_type' => 'taxonomy'
96
  ],
102
  ],
103
  '#post_tag' => [
104
  'label' => esc_html__('Tags', 'capsman-enhanced'),
105
+ 'elements' => '#tags, #tagsdiv,#tagsdivsb,#tagsdiv-post_tag, th.column-tags, td.tags, #screen-options-wrap label[for=tagsdiv-post_tag-hide]',
106
  'support_key' => 'post_tag',
107
  'support_type' => 'taxonomy'
108
  ],
115
  if (!in_array($taxonomy, ['category', 'post_tag', 'link_category'])) {
116
  $elements[$k]["#{$tx_obj->name}div"] = [
117
  'label' => $tx_obj->label,
118
+ 'elements' => "#{$tx_obj->name}, #{$tx_obj->name}div,#{$tx_obj->name}divsb,#tagsdiv-{$tx_obj->name}, th.column-{$tx_obj->name}, td.{$tx_obj->name}, #screen-options-wrap label[for=tagsdiv-{$tx_obj->name}-hide], #screen-options-wrap label[for={$tx_obj->name}div-hide]",
119
  'support_key' => $tx_obj->name,
120
  'support_type' => 'taxonomy'
121
  ];
147
  $elements[esc_html__('Other Boxes', 'capsman-enhanced')] = [
148
  '#postimagediv' => [
149
  'label' => esc_html__('Featured Image', 'capsman-enhanced'),
150
+ 'elements' => '#postimagediv, #screen-options-wrap label[for=postimagediv-hide]',
151
  'support_key' => 'thumbnail'
152
  ],
153
  '#slug' => [
154
  'label' => esc_html__('Post Slug', 'capsman-enhanced'),
155
+ 'elements' => '#slugdiv,#edit-slug-box, #screen-options-wrap label[for=slugdiv-hide]'
156
  ],
157
  '#commentstatusdiv' => [
158
  'label' => esc_html__('Discussion', 'capsman-enhanced'),
159
+ 'elements' => '#commentstatusdiv, #screen-options-wrap label[for=commentstatusdiv-hide]',
160
  'support_key' => 'comments'
161
  ],
162
  '#woocommerce-coupon-description' => [
212
  'elements' => '#' . $id
213
  . ', #' . $id . 'div'
214
  . ', th.column-' . $id
215
+ . ', #screen-options-wrap label[for='.$id.'-hide]'
216
+ . ', #screen-options-wrap label[for='.$id.'div-hide]'
217
  . ', td.' . $id,
218
  'support_key' => $feature
219
  ]; //th and td for raw in edit screen
includes/functions.php CHANGED
@@ -316,6 +316,60 @@ function ppc_roles_logout_redirect($redirect_to, $request, $user) {
316
  }
317
  add_filter('logout_redirect', 'ppc_roles_logout_redirect', 10, 3);
318
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
319
  /**
320
  * List of capabilities admin pages
321
  *
316
  }
317
  add_filter('logout_redirect', 'ppc_roles_logout_redirect', 10, 3);
318
 
319
+ /**
320
+ * Block user role login
321
+ *
322
+ * @param $user (null|WP_User|WP_Error) WP_User if the user is authenticated. WP_Error or null otherwise.
323
+ *
324
+ * @return WP_User object if credentials authenticate the user. WP_Error or null otherwise
325
+ */
326
+ function ppc_roles_wp_authenticate_user($user) {
327
+
328
+ if (is_wp_error($user)) {
329
+ return $user;
330
+ }
331
+
332
+ if (isset($user->roles) && is_array($user->roles)) {
333
+ foreach ($user->roles as $user_role) {
334
+ //get role option
335
+ $role_option = get_option("pp_capabilities_{$user_role}_role_option", []);
336
+ if (is_array($role_option) && !empty($role_option)
337
+ && !empty($role_option['disable_role_user_login'])
338
+ && (int)$role_option['disable_role_user_login'] > 0
339
+ ) {
340
+ return new WP_Error('ppc_roles_user_banned', __('Login permission denied.', 'capsman-enhanced'));
341
+ }
342
+ }
343
+ }
344
+
345
+ return $user;
346
+ }
347
+ add_filter('wp_authenticate_user', 'ppc_roles_wp_authenticate_user', 1);
348
+
349
+ /**
350
+ * Wocommerce role admin access restriction remove
351
+ */
352
+ function ppc_roles_disable_woocommerce_admin_restrictions($restrict_access) {
353
+
354
+ if ($restrict_access && is_user_logged_in()) {
355
+ $user = get_userdata(get_current_user_id());
356
+
357
+ if (isset($user->roles) && is_array($user->roles)) {
358
+ foreach ($user->roles as $user_role) {
359
+ //get role option
360
+ $role_option = get_option("pp_capabilities_{$user_role}_role_option", []);
361
+ if (is_array($role_option) && !empty($role_option) && !empty($role_option['disable_woocommerce_admin_restrictions'])) {
362
+ $restrict_access = false;
363
+ break;
364
+ }
365
+ }
366
+ }
367
+ }
368
+ return $restrict_access;
369
+ }
370
+ add_filter('woocommerce_prevent_admin_access', 'ppc_roles_disable_woocommerce_admin_restrictions', 20);
371
+ add_filter('woocommerce_disable_admin_bar', 'ppc_roles_disable_woocommerce_admin_restrictions', 20);
372
+
373
  /**
374
  * List of capabilities admin pages
375
  *
includes/roles/class/class-pp-roles-actions.php CHANGED
@@ -261,6 +261,10 @@ class Pp_Roles_Actions
261
  $role_option['referer_redirect'] = !empty($_REQUEST['referer_redirect']) ? (int) $_REQUEST['referer_redirect'] : 0;
262
  $role_option['custom_redirect'] = !empty($_REQUEST['custom_redirect']) ? (int) $_REQUEST['custom_redirect'] : 0;
263
  $role_option['disable_code_editor'] = !empty($_REQUEST['disable_code_editor']) ? (int) $_REQUEST['disable_code_editor'] : 0;
 
 
 
 
264
  update_option('pp_capabilities_' . $role['name'] . '_role_option', $role_option);
265
 
266
  /**
@@ -401,6 +405,10 @@ class Pp_Roles_Actions
401
  $role_option['referer_redirect'] = !empty($_REQUEST['referer_redirect']) ? (int) $_REQUEST['referer_redirect'] : 0;
402
  $role_option['custom_redirect'] = !empty($_REQUEST['custom_redirect']) ? (int) $_REQUEST['custom_redirect'] : 0;
403
  $role_option['disable_code_editor'] = !empty($_REQUEST['disable_code_editor']) ? (int) $_REQUEST['disable_code_editor'] : 0;
 
 
 
 
404
  update_option('pp_capabilities_' . sanitize_key($_REQUEST['current_role']) . '_role_option', $role_option);
405
 
406
  /**
261
  $role_option['referer_redirect'] = !empty($_REQUEST['referer_redirect']) ? (int) $_REQUEST['referer_redirect'] : 0;
262
  $role_option['custom_redirect'] = !empty($_REQUEST['custom_redirect']) ? (int) $_REQUEST['custom_redirect'] : 0;
263
  $role_option['disable_code_editor'] = !empty($_REQUEST['disable_code_editor']) ? (int) $_REQUEST['disable_code_editor'] : 0;
264
+ $role_option['disable_role_user_login'] = !empty($_REQUEST['disable_role_user_login']) ? (int) $_REQUEST['disable_role_user_login'] : 0;
265
+ if (defined('WC_PLUGIN_FILE')) {
266
+ $role_option['disable_woocommerce_admin_restrictions'] = !empty($_REQUEST['disable_woocommerce_admin_restrictions']) ? (int) $_REQUEST['disable_woocommerce_admin_restrictions'] : 0;
267
+ }
268
  update_option('pp_capabilities_' . $role['name'] . '_role_option', $role_option);
269
 
270
  /**
405
  $role_option['referer_redirect'] = !empty($_REQUEST['referer_redirect']) ? (int) $_REQUEST['referer_redirect'] : 0;
406
  $role_option['custom_redirect'] = !empty($_REQUEST['custom_redirect']) ? (int) $_REQUEST['custom_redirect'] : 0;
407
  $role_option['disable_code_editor'] = !empty($_REQUEST['disable_code_editor']) ? (int) $_REQUEST['disable_code_editor'] : 0;
408
+ $role_option['disable_role_user_login'] = !empty($_REQUEST['disable_role_user_login']) ? (int) $_REQUEST['disable_role_user_login'] : 0;
409
+ if (defined('WC_PLUGIN_FILE')) {
410
+ $role_option['disable_woocommerce_admin_restrictions'] = !empty($_REQUEST['disable_woocommerce_admin_restrictions']) ? (int) $_REQUEST['disable_woocommerce_admin_restrictions'] : 0;
411
+ }
412
  update_option('pp_capabilities_' . sanitize_key($_REQUEST['current_role']) . '_role_option', $role_option);
413
 
414
  /**
includes/roles/class/class-pp-roles-admin.php CHANGED
@@ -100,23 +100,33 @@ class Pp_Roles_Admin
100
  */
101
  public static function get_fields_tabs($current, $role_edit, $role_copy)
102
  {
103
- $fields_tabs = [
104
- 'general' => [
105
- 'label' => esc_html__('General', 'capsman-enhanced'),
106
- 'icon' => 'dashicons dashicons-admin-tools',
107
- ],
108
- 'editing' => [
109
- 'label' => esc_html__('Editing', 'capsman-enhanced'),
110
- 'icon' => 'dashicons dashicons-edit-page',
111
- ],
112
- 'redirects' => [
113
- 'label' => esc_html__('Redirects', 'capsman-enhanced'),
114
- 'icon' => 'dashicons dashicons-admin-links',
115
- ],
116
- 'advanced' => [
117
- 'label' => esc_html__('Advanced', 'capsman-enhanced'),
118
- 'icon' => 'dashicons dashicons-admin-generic',
119
- ],
 
 
 
 
 
 
 
 
 
 
120
  ];
121
 
122
  if ($role_edit && !$current['is_system']) {
@@ -155,8 +165,13 @@ class Pp_Roles_Admin
155
  $editor_options['classic_editor'] = esc_html__('Classic editor', 'capsman-enhanced');
156
  }
157
 
 
158
  $fields = [];
159
 
 
 
 
 
160
  //add role_name
161
  $fields['role_name'] = [
162
  'label' => esc_html__('Role Name', 'capsman-enhanced'),
@@ -178,6 +193,19 @@ class Pp_Roles_Admin
178
  'required' => false,
179
  ];
180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  //add role_level
182
  $fields['role_level'] = [
183
  'label' => esc_html__('Role Level', 'capsman-enhanced'),
@@ -235,8 +263,8 @@ class Pp_Roles_Admin
235
 
236
  //add disable_code_editor
237
  $fields['disable_code_editor'] = [
238
- 'label' => esc_html__('Disable Code Editor', 'capsman-enhanced'),
239
- 'description' => esc_html__('Disable the "Code editor" option for the Gutenberg block editor.', 'capsman-enhanced'),
240
  'type' => 'checkbox',
241
  'value_key' => 'disable_code_editor',
242
  'tab' => 'editing',
@@ -247,8 +275,8 @@ class Pp_Roles_Admin
247
  if (count($editor_options) > 1) {
248
  //add role_editor
249
  $fields['role_editor'] = [
250
- 'label' => esc_html__('Control Allowed Editors', 'capsman-enhanced'),
251
- 'description' => esc_html__('Select the allowed editor options for users in this role.', 'capsman-enhanced'),
252
  'type' => 'select',
253
  'multiple' => true,
254
  'value_key' => 'role_editor',
@@ -258,6 +286,19 @@ class Pp_Roles_Admin
258
  ];
259
  }
260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
  /**
262
  * Customize fields presented on role screen.
263
  *
@@ -334,8 +375,8 @@ class Pp_Roles_Admin
334
  name="<?php echo esc_attr($key); ?><?php echo $args['multiple'] ? '[]' : '';?>"
335
  id="<?php echo esc_attr($key.'-select'); ?>"
336
  class="pp-capabilities-role-choosen"
337
- data-placeholder="<?php esc_html_e('Select allowed editor', 'capsman-enhanced'); ?>"
338
- data-message="<?php esc_attr_e('You must select at least one editor for the role when managing allowed editor.', 'capsman-enhanced'); ?>"
339
  <?php echo ($args['multiple'] ? 'multiple' : '');?>
340
  <?php echo ($args['required'] ? 'required="true"' : '');?>>
341
  <?php
@@ -569,7 +610,7 @@ class Pp_Roles_Admin
569
  $fields = apply_filters('pp_roles_fields', self::get_fields($current, $role_edit, $role_copy), $current, $role_edit, $role_copy);
570
 
571
  if ($role_copy) {
572
- pp_capabilities_roles()->notify->add('info', sprintf( esc_html__('%s role copied to editor. Please click the "Create Role" button to create this new role.', 'capsman-enhanced'), $current['name']));
573
  //update new name and remove slug
574
  $current['role'] = $current['role'] . '_copy';
575
  $current['name'] = $current['name'] . ' Copy';
100
  */
101
  public static function get_fields_tabs($current, $role_edit, $role_copy)
102
  {
103
+ $fields_tabs = [];
104
+
105
+ $fields_tabs['general'] = [
106
+ 'label' => esc_html__('General', 'capsman-enhanced'),
107
+ 'icon' => 'dashicons dashicons-admin-tools',
108
+ ];
109
+
110
+ $fields_tabs['editing'] = [
111
+ 'label' => esc_html__('Editing', 'capsman-enhanced'),
112
+ 'icon' => 'dashicons dashicons-edit-page',
113
+ ];
114
+
115
+ $fields_tabs['redirects'] = [
116
+ 'label' => esc_html__('Redirects', 'capsman-enhanced'),
117
+ 'icon' => 'dashicons dashicons-admin-links',
118
+ ];
119
+
120
+ if (defined('WC_PLUGIN_FILE')) {
121
+ $fields_tabs['woocommerce'] = [
122
+ 'label' => esc_html__('WooCommerce', 'capsman-enhanced'),
123
+ 'icon' => 'dashicons dashicons-products',
124
+ ];
125
+ }
126
+
127
+ $fields_tabs['advanced'] = [
128
+ 'label' => esc_html__('Advanced', 'capsman-enhanced'),
129
+ 'icon' => 'dashicons dashicons-admin-generic',
130
  ];
131
 
132
  if ($role_edit && !$current['is_system']) {
165
  $editor_options['classic_editor'] = esc_html__('Classic editor', 'capsman-enhanced');
166
  }
167
 
168
+ $show_block_control = true;
169
  $fields = [];
170
 
171
+ if ($role_edit && $current && isset($current['role']) && $current['role'] === 'administrator') {
172
+ $show_block_control = false;
173
+ }
174
+
175
  //add role_name
176
  $fields['role_name'] = [
177
  'label' => esc_html__('Role Name', 'capsman-enhanced'),
193
  'required' => false,
194
  ];
195
 
196
+ if ($show_block_control) {
197
+ //add disable_role_user_login
198
+ $fields['disable_role_user_login'] = [
199
+ 'label' => esc_html__('Block Login', 'capsman-enhanced'),
200
+ 'description' => esc_html__('Block users in this role from logging into the site.', 'capsman-enhanced'),
201
+ 'type' => 'checkbox',
202
+ 'value_key' => 'disable_role_user_login',
203
+ 'tab' => 'advanced',
204
+ 'editable' => true,
205
+ 'required' => false,
206
+ ];
207
+ }
208
+
209
  //add role_level
210
  $fields['role_level'] = [
211
  'label' => esc_html__('Role Level', 'capsman-enhanced'),
263
 
264
  //add disable_code_editor
265
  $fields['disable_code_editor'] = [
266
+ 'label' => /* Translators: "Editor" means post editor like Gutenberg */ esc_html__('Disable Code Editor', 'capsman-enhanced'),
267
+ 'description' => /* Translators: "Editor" means post editor like Gutenberg */ esc_html__('Disable the "Code editor" option for the Gutenberg block editor.', 'capsman-enhanced'),
268
  'type' => 'checkbox',
269
  'value_key' => 'disable_code_editor',
270
  'tab' => 'editing',
275
  if (count($editor_options) > 1) {
276
  //add role_editor
277
  $fields['role_editor'] = [
278
+ 'label' => /* Translators: "Editor" means post editor like Gutenberg */ esc_html__('Control Allowed Editors', 'capsman-enhanced'),
279
+ 'description' => /* Translators: "Editor" means post editor like Gutenberg */ esc_html__('Select the allowed editor options for users in this role.', 'capsman-enhanced'),
280
  'type' => 'select',
281
  'multiple' => true,
282
  'value_key' => 'role_editor',
286
  ];
287
  }
288
 
289
+ if (defined('WC_PLUGIN_FILE')) {
290
+ //add disable_woocommerce_admin_restrictions
291
+ $fields['disable_woocommerce_admin_restrictions'] = [
292
+ 'label' => esc_html__('Disable WooCommerce admin restrictions', 'capsman-enhanced'),
293
+ 'description' => esc_html__('WooCommerce blocks most users from accessing the WordPress admin area. When enabled, this setting will remove those restrictions.', 'capsman-enhanced'),
294
+ 'type' => 'checkbox',
295
+ 'value_key' => 'disable_woocommerce_admin_restrictions',
296
+ 'tab' => 'woocommerce',
297
+ 'editable' => true,
298
+ 'required' => false,
299
+ ];
300
+ }
301
+
302
  /**
303
  * Customize fields presented on role screen.
304
  *
375
  name="<?php echo esc_attr($key); ?><?php echo $args['multiple'] ? '[]' : '';?>"
376
  id="<?php echo esc_attr($key.'-select'); ?>"
377
  class="pp-capabilities-role-choosen"
378
+ data-placeholder="<?php /* Translators: "Editor" means post editor like Gutenberg */ esc_html_e('Select allowed editor', 'capsman-enhanced'); ?>"
379
+ data-message="<?php /* Translators: "Editor" means post editor like Gutenberg */ esc_attr_e('You must select at least one editor for the role when managing allowed editor.', 'capsman-enhanced'); ?>"
380
  <?php echo ($args['multiple'] ? 'multiple' : '');?>
381
  <?php echo ($args['required'] ? 'required="true"' : '');?>>
382
  <?php
610
  $fields = apply_filters('pp_roles_fields', self::get_fields($current, $role_edit, $role_copy), $current, $role_edit, $role_copy);
611
 
612
  if ($role_copy) {
613
+ pp_capabilities_roles()->notify->add('info', sprintf( esc_html__('%s role copied. Please click the "Create Role" button to create this new role.', 'capsman-enhanced'), $current['name']));
614
  //update new name and remove slug
615
  $current['role'] = $current['role'] . '_copy';
616
  $current['name'] = $current['name'] . ' Copy';
languages/capsman-enhanced-fr_FR.mo CHANGED
Binary file
languages/capsman-enhanced-fr_FR.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - PublishPress Capabilities &#8211; User Role Access, Editor Permissions, Admin Menus - Stable (latest release)\n"
6
  "POT-Creation-Date: \n"
7
- "PO-Revision-Date: 2022-08-05 12:13-0500\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "Language: fr\n"
@@ -14,21 +14,33 @@ msgstr ""
14
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
15
  "X-Generator: Poedit 3.0.1\n"
16
 
17
- #: includes/settings-ui.php:80
 
 
 
 
 
 
 
 
 
 
 
 
18
  msgid "Support for Private Post Types"
19
  msgstr "Prise en charge des types de publication privés"
20
 
21
- #: includes/settings-ui.php:59
22
  msgid "Show Private Taxonomies"
23
  msgstr "Afficher les taxonomies privées"
24
 
25
- #: includes/settings-ui.php:41
26
  msgid "Enable Multiple Roles When Creating Users"
27
- msgstr "Activer les rôles multiples lors de la création d’utilisateurs et utilisatrices"
28
 
29
  #: includes/admin.php:688
30
  msgid "Admin listing access is normally provided by the \"Edit\" capabilities. \"List\" capabilities apply if the corresponding \"Edit\" capability is missing, but otherwise have no effect."
31
- msgstr "L’accès à la liste des administrateurs et administratrices est normalement fourni par les permissions de « Modifier ». Les permissions « Lister » s’appliquent si la permission « Modifier » correspondante est absente, mais n’ont aucun effet dans les autres cas."
32
 
33
  #: includes/admin.php:225
34
  msgid "Listing"
@@ -114,11 +126,11 @@ msgstr "Éditeur Gutenberg"
114
  msgid "Redirects"
115
  msgstr "Redirections"
116
 
117
- #: includes/features/restrict-editor-features.php:415
118
  msgid "Revisions"
119
  msgstr "Révisions"
120
 
121
- #: includes/features/restrict-editor-features.php:403
122
  msgid "Add new block"
123
  msgstr "Ajouter un bloc"
124
 
@@ -153,13 +165,13 @@ msgstr "Limité :"
153
 
154
  #: includes/features/editor-features.php:111
155
  #: includes/features/editor-features.php:113
156
- #: includes/features/editor-features.php:219
157
- #: includes/features/editor-features.php:221
158
  msgid "Save %s Restrictions"
159
  msgstr "Enregistrer %s restrictions"
160
 
161
  #: includes/features/editor-features.php:107
162
- #: includes/features/editor-features.php:215
163
  msgid "Save for all Post Types"
164
  msgstr "Enregistrer pour tous les types de publication"
165
 
@@ -271,11 +283,11 @@ msgstr "Général"
271
  msgid "%s role updated successfully."
272
  msgstr "Le rôle de %s a bien été mis à jour."
273
 
274
- #: includes/manager.php:937
275
  msgid "You do not have permission to perform this action."
276
  msgstr "Vous n’avez pas les droits nécessaires pour effectuer cette action."
277
 
278
- #: includes/features/restrict-editor-features.php:411
279
  msgid "Template"
280
  msgstr "Modèle"
281
 
@@ -379,7 +391,7 @@ msgstr "Le rôle « %s » existe déjà. Veuillez choisir un autre nom."
379
  msgid "Invalid role name entry: %s"
380
  msgstr "Entrée de nom de rôle invalide : %s"
381
 
382
- #: includes/manager.php:535 includes/manager.php:557
383
  msgid "You do not have permission to manage admin features."
384
  msgstr "Vous n’avez pas le droit de gérer les fonctionnalités d’administration."
385
 
@@ -457,32 +469,32 @@ msgid "Admin Feature Restrictions"
457
  msgstr "Restrictions des fonctionnalités administratives"
458
 
459
  #: includes/backup.php:362 includes/features/admin-features.php:236
460
- #: includes/features/editor-features.php:241
461
  msgid "Click here to install PublishPress Permissions"
462
  msgstr "Cliquez ici pour installer PublishPress Permissions"
463
 
464
  #: includes/backup.php:359 includes/features/admin-features.php:233
465
- #: includes/features/editor-features.php:238
466
  msgid "PublishPress Permissions is 100% free to install."
467
  msgstr "PublishPress Permissions est 100% gratuit à installer."
468
 
469
  #: includes/backup.php:358 includes/features/admin-features.php:232
470
- #: includes/features/editor-features.php:237
471
  msgid "Allow specific user roles or users to manage each post."
472
  msgstr "Autorisez des rôles de comptes spécifiques à gérer chaque publication."
473
 
474
  #: includes/backup.php:357 includes/features/admin-features.php:231
475
- #: includes/features/editor-features.php:236
476
  msgid "Choose who can read and edit each post."
477
  msgstr "Choisissez qui peut lire et modifier chaque publication."
478
 
479
  #: includes/backup.php:355 includes/features/admin-features.php:229
480
- #: includes/features/editor-features.php:234
481
  msgid "Control permissions for individual posts and pages"
482
  msgstr "Contrôlez les autorisations pour les publications et les pages individuelles"
483
 
484
  #: includes/backup.php:354 includes/features/admin-features.php:228
485
- #: includes/features/editor-features.php:233
486
  msgid "Recommendations for you"
487
  msgstr "Des recommandations pour vous"
488
 
@@ -595,7 +607,7 @@ msgstr "Liste de contrôle"
595
  msgid "Metaboxes"
596
  msgstr "Boîtes méta"
597
 
598
- #: includes/manager.php:519 includes/manager.php:573
599
  msgid "Settings updated."
600
  msgstr "Réglages mis à jour."
601
 
@@ -606,109 +618,109 @@ msgstr "Vous n’êtes pas autorisé à gérer les fonctionnalités de l’édit
606
  #: includes/admin-load.php:424 includes/functions-admin.php:201
607
  #: includes/manager.php:375 includes/manager.php:409
608
  #: includes/roles/class/class-pp-roles-list-table.php:173
609
- #: includes/settings-ui.php:23
610
  msgid "Editor Features"
611
  msgstr "Fonctionnalités de l’éditeur"
612
 
613
- #: includes/features/restrict-editor-features.php:474
614
  msgid "Text settings"
615
  msgstr "Réglages du texte"
616
 
617
- #: includes/features/restrict-editor-features.php:473
618
  msgid "Color settings"
619
  msgstr "Réglages de couleur"
620
 
621
- #: includes/features/restrict-editor-features.php:472
622
  msgid "Typography"
623
  msgstr "Typographie"
624
 
625
- #: includes/features/restrict-editor-features.php:471
626
  msgid "Paragraph"
627
  msgstr "Paragraphe"
628
 
629
- #: includes/features/restrict-editor-features.php:469
630
- #: includes/features/restrict-editor-features.php:470
631
  msgid "Block Panel"
632
  msgstr "Panneau de blocs"
633
 
634
- #: includes/features/restrict-editor-features.php:463
635
  msgid "Post Attributes"
636
  msgstr "Attributs d’articles"
637
 
638
- #: includes/features/restrict-editor-features.php:453
639
  msgid "Excerpt"
640
  msgstr "Extrait"
641
 
642
- #: includes/features/restrict-editor-features.php:448
643
  msgid "Featured image"
644
  msgstr "Image mise en avant"
645
 
646
- #: includes/features/restrict-editor-features.php:409
647
  msgid "Status & visibility"
648
  msgstr "État et visibilité"
649
 
650
- #: includes/features/restrict-editor-features.php:408
651
  msgid "Document Panel"
652
  msgstr "Panneau de publication"
653
 
654
- #: includes/features/restrict-editor-features.php:398
655
  msgid "Content"
656
  msgstr "Contenu"
657
 
658
- #: includes/features/restrict-editor-features.php:393
659
  msgid "Edit title"
660
  msgstr "Modifier le titre"
661
 
662
- #: includes/features/restrict-editor-features.php:391
663
  msgid "Body"
664
  msgstr "Corps"
665
 
666
- #: includes/features/restrict-editor-features.php:388
667
  msgid "Options"
668
  msgstr "Options"
669
 
670
- #: includes/features/restrict-editor-features.php:386
671
  msgid "Publish / Update"
672
  msgstr "Publier/mettre à jour"
673
 
674
- #: includes/features/restrict-editor-features.php:384
675
  msgid "Switch to draft"
676
  msgstr "Passer en brouillon"
677
 
678
- #: includes/features/restrict-editor-features.php:382
679
  msgid "Top Bar - Right"
680
  msgstr "Barre supérieure - Droite"
681
 
682
- #: includes/features/restrict-editor-features.php:379
683
  msgid "Outline"
684
  msgstr "Contour"
685
 
686
- #: includes/features/restrict-editor-features.php:378
687
  msgid "Details"
688
  msgstr "Détails"
689
 
690
- #: includes/features/restrict-editor-features.php:377
691
  msgid "Redo"
692
  msgstr "Rétablir"
693
 
694
- #: includes/features/restrict-editor-features.php:376
695
  msgid "Undo"
696
  msgstr "Annuler"
697
 
698
- #: includes/features/restrict-editor-features.php:375
699
  msgid "Modes"
700
  msgstr "Modes"
701
 
702
- #: includes/features/restrict-editor-features.php:374
703
  msgid "Add block"
704
  msgstr "Ajouter un bloc"
705
 
706
- #: includes/features/restrict-editor-features.php:373
707
  msgid "Top Bar - Left"
708
  msgstr "Barre supérieure - Gauche"
709
 
710
  #: includes/features/restrict-editor-features.php:158
711
- #: includes/features/restrict-editor-features.php:458
712
  msgid "Discussion"
713
  msgstr "Discussion"
714
 
@@ -745,7 +757,7 @@ msgid "Page Boxes"
745
  msgstr "Cadres de page"
746
 
747
  #: includes/features/restrict-editor-features.php:104
748
- #: includes/features/restrict-editor-features.php:424
749
  msgid "Tags"
750
  msgstr "Étiquettes"
751
 
@@ -754,7 +766,7 @@ msgid "Add New Category"
754
  msgstr "Ajouter une nouvelle catégorie"
755
 
756
  #: includes/features/restrict-editor-features.php:92
757
- #: includes/features/restrict-editor-features.php:418
758
  msgid "Categories"
759
  msgstr "Catégories"
760
 
@@ -791,12 +803,12 @@ msgid "Publish Status "
791
  msgstr "État de la publication "
792
 
793
  #: includes/features/restrict-editor-features.php:80
794
- #: includes/features/restrict-editor-features.php:385
795
  msgid "Preview"
796
  msgstr "Aperçu"
797
 
798
  #: includes/features/restrict-editor-features.php:79
799
- #: includes/features/restrict-editor-features.php:383
800
  msgid "Save Draft"
801
  msgstr "Enregistrer le brouillon"
802
 
@@ -818,7 +830,7 @@ msgid "Media Buttons (all)"
818
  msgstr "Boutons multimédia (tous)"
819
 
820
  #: includes/features/restrict-editor-features.php:59
821
- #: includes/features/restrict-editor-features.php:416
822
  msgid "Permalink"
823
  msgstr "Permalien"
824
 
@@ -869,7 +881,7 @@ msgstr "synchroniser les options sur tous les sites maintenant"
869
  msgid "Copy option settings to all sites now"
870
  msgstr "Copiez les réglages des options sur tous les sites maintenant"
871
 
872
- #: includes/handler.php:61 includes/handler.php:89 includes/manager.php:756
873
  msgid "The selected role is not editable."
874
  msgstr "Le rôle sélectionné n’est pas modifiable."
875
 
@@ -938,7 +950,7 @@ msgid "Restore"
938
  msgstr "Restaurer"
939
 
940
  #: includes/admin-load.php:429
941
- #: includes/features/restrict-editor-features.php:387 includes/manager.php:383
942
  msgid "Settings"
943
  msgstr "Réglages"
944
 
@@ -956,7 +968,7 @@ msgid "Search results for &#8220;%s&#8221;"
956
  msgstr "Résultats de la recherche pour &#171; %s &#187;"
957
 
958
  #: includes/admin-load.php:422 includes/manager.php:361
959
- #: includes/roles/roles.php:8 includes/settings-ui.php:21
960
  msgid "Roles"
961
  msgstr "Rôles"
962
 
@@ -1097,31 +1109,31 @@ msgid_plural "All %s"
1097
  msgstr[0] "Tous les %s"
1098
  msgstr[1] "Tous les %s"
1099
 
1100
- #: includes/manager.php:1007
1101
  msgid "Contact"
1102
  msgstr "Contact"
1103
 
1104
- #: includes/manager.php:1007
1105
  msgid "Contact the PublishPress team"
1106
  msgstr "Contact de l’équipe de PublishPress"
1107
 
1108
- #: includes/manager.php:1005
1109
  msgid "Capabilites Documentation"
1110
  msgstr "Documentation de Capabilities"
1111
 
1112
- #: includes/manager.php:1003
1113
  msgid "About"
1114
  msgstr "À propos"
1115
 
1116
- #: includes/manager.php:1003
1117
  msgid "About PublishPress Capabilities"
1118
  msgstr "À propos de PublishPress Capabilities"
1119
 
1120
- #: includes/manager.php:992
1121
  msgid "If you like %s, please leave us a %s rating. Thank you!"
1122
  msgstr "Si vous appréciez %s, veuillez nous laisser une note de %s. Merci !"
1123
 
1124
- #: includes/manager.php:678 includes/manager.php:712 includes/manager.php:730
1125
  msgid "You do not have permission to manage capabilities."
1126
  msgstr "Vous n’avez pas le droit de gérer les permissions."
1127
 
@@ -1303,7 +1315,7 @@ msgstr "activer %1$sRéglages avancées%2$s, voir Utilisation des rôles"
1303
  msgid "see %1$sRole Usage%2$s: \"Pattern Roles\""
1304
  msgstr "voir %1$sUtilisation des rôles%2$s : « Modèle de rôle »."
1305
 
1306
- #: includes/manager.php:785
1307
  msgid "Bad form Received"
1308
  msgstr "Formulaire reçu incorrect"
1309
 
@@ -1323,7 +1335,7 @@ msgstr "Formulaire reçu incorrect."
1323
  msgid "Incorrect capability name."
1324
  msgstr "Nom de permission incorrect."
1325
 
1326
- #: includes/manager.php:744
1327
  msgid "New capability added to role."
1328
  msgstr "Nouvelle permission ajouté au rôle."
1329
 
@@ -1388,7 +1400,7 @@ msgstr "Echec de la restauration. Aucune sauvegarde trouvée."
1388
  msgid "New backup saved."
1389
  msgstr "Nouvelle sauvegarde enregistrée."
1390
 
1391
- #: includes/backup-handler.php:15 includes/manager.php:899
1392
  msgid "You do not have permission to restore roles."
1393
  msgstr "Vous n’avez pas la permission de restaurer les rôles."
1394
 
@@ -1592,7 +1604,7 @@ msgstr "Définissez automatiquement les permissions spécifiques à vos types de
1592
  msgid "Roles and Capabilities"
1593
  msgstr "Rôles et capacités"
1594
 
1595
- #: includes/manager.php:1005
1596
  msgid "Documentation"
1597
  msgstr "Documentation"
1598
 
@@ -1627,7 +1639,7 @@ msgstr "Annulez explicitement cette permission en la stockant comme désactivée
1627
  #: includes/admin-load.php:400 includes/manager.php:339
1628
  #: includes/manager.php:408 includes/roles/class/class-pp-roles-admin.php:669
1629
  #: includes/roles/class/class-pp-roles-list-table.php:172
1630
- #: includes/settings-ui.php:22
1631
  msgid "Capabilities"
1632
  msgstr "Permissions"
1633
 
4
  msgstr ""
5
  "Project-Id-Version: Plugins - PublishPress Capabilities &#8211; User Role Access, Editor Permissions, Admin Menus - Stable (latest release)\n"
6
  "POT-Creation-Date: \n"
7
+ "PO-Revision-Date: 2022-08-15 17:55-0500\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "Language: fr\n"
14
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
15
  "X-Generator: Poedit 3.0.1\n"
16
 
17
+ #: includes/settings-ui.php:99
18
+ msgid "Enable Classic Editor Tab"
19
+ msgstr "Activer l’onglet de l’éditeur classique"
20
+
21
+ #: includes/features/restrict-editor-features.php:163
22
+ msgid "Coupon Description"
23
+ msgstr "Description du code promo"
24
+
25
+ #: includes/features/editor-features.php:216
26
+ msgid "show Classic Editor controls"
27
+ msgstr "Afficher les contrôles de l’éditeur classique"
28
+
29
+ #: includes/settings-ui.php:86
30
  msgid "Support for Private Post Types"
31
  msgstr "Prise en charge des types de publication privés"
32
 
33
+ #: includes/settings-ui.php:65
34
  msgid "Show Private Taxonomies"
35
  msgstr "Afficher les taxonomies privées"
36
 
37
+ #: includes/settings-ui.php:47
38
  msgid "Enable Multiple Roles When Creating Users"
39
+ msgstr "Activer les rôles multiples lors de la création des comptes"
40
 
41
  #: includes/admin.php:688
42
  msgid "Admin listing access is normally provided by the \"Edit\" capabilities. \"List\" capabilities apply if the corresponding \"Edit\" capability is missing, but otherwise have no effect."
43
+ msgstr "L’accès à la liste des administrateurs et administratrices est normalement fourni par les permissions « Modifier ». Les permissions « Lister » s’appliquent si la permission « Modifier » correspondante est absente, mais n’ont aucun effet dans les autres cas."
44
 
45
  #: includes/admin.php:225
46
  msgid "Listing"
126
  msgid "Redirects"
127
  msgstr "Redirections"
128
 
129
+ #: includes/features/restrict-editor-features.php:421
130
  msgid "Revisions"
131
  msgstr "Révisions"
132
 
133
+ #: includes/features/restrict-editor-features.php:409
134
  msgid "Add new block"
135
  msgstr "Ajouter un bloc"
136
 
165
 
166
  #: includes/features/editor-features.php:111
167
  #: includes/features/editor-features.php:113
168
+ #: includes/features/editor-features.php:225
169
+ #: includes/features/editor-features.php:227
170
  msgid "Save %s Restrictions"
171
  msgstr "Enregistrer %s restrictions"
172
 
173
  #: includes/features/editor-features.php:107
174
+ #: includes/features/editor-features.php:221
175
  msgid "Save for all Post Types"
176
  msgstr "Enregistrer pour tous les types de publication"
177
 
283
  msgid "%s role updated successfully."
284
  msgstr "Le rôle de %s a bien été mis à jour."
285
 
286
+ #: includes/manager.php:941
287
  msgid "You do not have permission to perform this action."
288
  msgstr "Vous n’avez pas les droits nécessaires pour effectuer cette action."
289
 
290
+ #: includes/features/restrict-editor-features.php:417
291
  msgid "Template"
292
  msgstr "Modèle"
293
 
391
  msgid "Invalid role name entry: %s"
392
  msgstr "Entrée de nom de rôle invalide : %s"
393
 
394
+ #: includes/manager.php:539 includes/manager.php:561
395
  msgid "You do not have permission to manage admin features."
396
  msgstr "Vous n’avez pas le droit de gérer les fonctionnalités d’administration."
397
 
469
  msgstr "Restrictions des fonctionnalités administratives"
470
 
471
  #: includes/backup.php:362 includes/features/admin-features.php:236
472
+ #: includes/features/editor-features.php:247
473
  msgid "Click here to install PublishPress Permissions"
474
  msgstr "Cliquez ici pour installer PublishPress Permissions"
475
 
476
  #: includes/backup.php:359 includes/features/admin-features.php:233
477
+ #: includes/features/editor-features.php:244
478
  msgid "PublishPress Permissions is 100% free to install."
479
  msgstr "PublishPress Permissions est 100% gratuit à installer."
480
 
481
  #: includes/backup.php:358 includes/features/admin-features.php:232
482
+ #: includes/features/editor-features.php:243
483
  msgid "Allow specific user roles or users to manage each post."
484
  msgstr "Autorisez des rôles de comptes spécifiques à gérer chaque publication."
485
 
486
  #: includes/backup.php:357 includes/features/admin-features.php:231
487
+ #: includes/features/editor-features.php:242
488
  msgid "Choose who can read and edit each post."
489
  msgstr "Choisissez qui peut lire et modifier chaque publication."
490
 
491
  #: includes/backup.php:355 includes/features/admin-features.php:229
492
+ #: includes/features/editor-features.php:240
493
  msgid "Control permissions for individual posts and pages"
494
  msgstr "Contrôlez les autorisations pour les publications et les pages individuelles"
495
 
496
  #: includes/backup.php:354 includes/features/admin-features.php:228
497
+ #: includes/features/editor-features.php:239
498
  msgid "Recommendations for you"
499
  msgstr "Des recommandations pour vous"
500
 
607
  msgid "Metaboxes"
608
  msgstr "Boîtes méta"
609
 
610
+ #: includes/manager.php:523 includes/manager.php:577
611
  msgid "Settings updated."
612
  msgstr "Réglages mis à jour."
613
 
618
  #: includes/admin-load.php:424 includes/functions-admin.php:201
619
  #: includes/manager.php:375 includes/manager.php:409
620
  #: includes/roles/class/class-pp-roles-list-table.php:173
621
+ #: includes/settings-ui.php:29
622
  msgid "Editor Features"
623
  msgstr "Fonctionnalités de l’éditeur"
624
 
625
+ #: includes/features/restrict-editor-features.php:480
626
  msgid "Text settings"
627
  msgstr "Réglages du texte"
628
 
629
+ #: includes/features/restrict-editor-features.php:479
630
  msgid "Color settings"
631
  msgstr "Réglages de couleur"
632
 
633
+ #: includes/features/restrict-editor-features.php:478
634
  msgid "Typography"
635
  msgstr "Typographie"
636
 
637
+ #: includes/features/restrict-editor-features.php:477
638
  msgid "Paragraph"
639
  msgstr "Paragraphe"
640
 
641
+ #: includes/features/restrict-editor-features.php:475
642
+ #: includes/features/restrict-editor-features.php:476
643
  msgid "Block Panel"
644
  msgstr "Panneau de blocs"
645
 
646
+ #: includes/features/restrict-editor-features.php:469
647
  msgid "Post Attributes"
648
  msgstr "Attributs d’articles"
649
 
650
+ #: includes/features/restrict-editor-features.php:459
651
  msgid "Excerpt"
652
  msgstr "Extrait"
653
 
654
+ #: includes/features/restrict-editor-features.php:454
655
  msgid "Featured image"
656
  msgstr "Image mise en avant"
657
 
658
+ #: includes/features/restrict-editor-features.php:415
659
  msgid "Status & visibility"
660
  msgstr "État et visibilité"
661
 
662
+ #: includes/features/restrict-editor-features.php:414
663
  msgid "Document Panel"
664
  msgstr "Panneau de publication"
665
 
666
+ #: includes/features/restrict-editor-features.php:404
667
  msgid "Content"
668
  msgstr "Contenu"
669
 
670
+ #: includes/features/restrict-editor-features.php:399
671
  msgid "Edit title"
672
  msgstr "Modifier le titre"
673
 
674
+ #: includes/features/restrict-editor-features.php:397
675
  msgid "Body"
676
  msgstr "Corps"
677
 
678
+ #: includes/features/restrict-editor-features.php:394
679
  msgid "Options"
680
  msgstr "Options"
681
 
682
+ #: includes/features/restrict-editor-features.php:392
683
  msgid "Publish / Update"
684
  msgstr "Publier/mettre à jour"
685
 
686
+ #: includes/features/restrict-editor-features.php:390
687
  msgid "Switch to draft"
688
  msgstr "Passer en brouillon"
689
 
690
+ #: includes/features/restrict-editor-features.php:388
691
  msgid "Top Bar - Right"
692
  msgstr "Barre supérieure - Droite"
693
 
694
+ #: includes/features/restrict-editor-features.php:385
695
  msgid "Outline"
696
  msgstr "Contour"
697
 
698
+ #: includes/features/restrict-editor-features.php:384
699
  msgid "Details"
700
  msgstr "Détails"
701
 
702
+ #: includes/features/restrict-editor-features.php:383
703
  msgid "Redo"
704
  msgstr "Rétablir"
705
 
706
+ #: includes/features/restrict-editor-features.php:382
707
  msgid "Undo"
708
  msgstr "Annuler"
709
 
710
+ #: includes/features/restrict-editor-features.php:381
711
  msgid "Modes"
712
  msgstr "Modes"
713
 
714
+ #: includes/features/restrict-editor-features.php:380
715
  msgid "Add block"
716
  msgstr "Ajouter un bloc"
717
 
718
+ #: includes/features/restrict-editor-features.php:379
719
  msgid "Top Bar - Left"
720
  msgstr "Barre supérieure - Gauche"
721
 
722
  #: includes/features/restrict-editor-features.php:158
723
+ #: includes/features/restrict-editor-features.php:464
724
  msgid "Discussion"
725
  msgstr "Discussion"
726
 
757
  msgstr "Cadres de page"
758
 
759
  #: includes/features/restrict-editor-features.php:104
760
+ #: includes/features/restrict-editor-features.php:430
761
  msgid "Tags"
762
  msgstr "Étiquettes"
763
 
766
  msgstr "Ajouter une nouvelle catégorie"
767
 
768
  #: includes/features/restrict-editor-features.php:92
769
+ #: includes/features/restrict-editor-features.php:424
770
  msgid "Categories"
771
  msgstr "Catégories"
772
 
803
  msgstr "État de la publication "
804
 
805
  #: includes/features/restrict-editor-features.php:80
806
+ #: includes/features/restrict-editor-features.php:391
807
  msgid "Preview"
808
  msgstr "Aperçu"
809
 
810
  #: includes/features/restrict-editor-features.php:79
811
+ #: includes/features/restrict-editor-features.php:389
812
  msgid "Save Draft"
813
  msgstr "Enregistrer le brouillon"
814
 
830
  msgstr "Boutons multimédia (tous)"
831
 
832
  #: includes/features/restrict-editor-features.php:59
833
+ #: includes/features/restrict-editor-features.php:422
834
  msgid "Permalink"
835
  msgstr "Permalien"
836
 
881
  msgid "Copy option settings to all sites now"
882
  msgstr "Copiez les réglages des options sur tous les sites maintenant"
883
 
884
+ #: includes/handler.php:61 includes/handler.php:89 includes/manager.php:760
885
  msgid "The selected role is not editable."
886
  msgstr "Le rôle sélectionné n’est pas modifiable."
887
 
950
  msgstr "Restaurer"
951
 
952
  #: includes/admin-load.php:429
953
+ #: includes/features/restrict-editor-features.php:393 includes/manager.php:383
954
  msgid "Settings"
955
  msgstr "Réglages"
956
 
968
  msgstr "Résultats de la recherche pour &#171; %s &#187;"
969
 
970
  #: includes/admin-load.php:422 includes/manager.php:361
971
+ #: includes/roles/roles.php:8 includes/settings-ui.php:27
972
  msgid "Roles"
973
  msgstr "Rôles"
974
 
1109
  msgstr[0] "Tous les %s"
1110
  msgstr[1] "Tous les %s"
1111
 
1112
+ #: includes/manager.php:1011
1113
  msgid "Contact"
1114
  msgstr "Contact"
1115
 
1116
+ #: includes/manager.php:1011
1117
  msgid "Contact the PublishPress team"
1118
  msgstr "Contact de l’équipe de PublishPress"
1119
 
1120
+ #: includes/manager.php:1009
1121
  msgid "Capabilites Documentation"
1122
  msgstr "Documentation de Capabilities"
1123
 
1124
+ #: includes/manager.php:1007
1125
  msgid "About"
1126
  msgstr "À propos"
1127
 
1128
+ #: includes/manager.php:1007
1129
  msgid "About PublishPress Capabilities"
1130
  msgstr "À propos de PublishPress Capabilities"
1131
 
1132
+ #: includes/manager.php:996
1133
  msgid "If you like %s, please leave us a %s rating. Thank you!"
1134
  msgstr "Si vous appréciez %s, veuillez nous laisser une note de %s. Merci !"
1135
 
1136
+ #: includes/manager.php:682 includes/manager.php:716 includes/manager.php:734
1137
  msgid "You do not have permission to manage capabilities."
1138
  msgstr "Vous n’avez pas le droit de gérer les permissions."
1139
 
1315
  msgid "see %1$sRole Usage%2$s: \"Pattern Roles\""
1316
  msgstr "voir %1$sUtilisation des rôles%2$s : « Modèle de rôle »."
1317
 
1318
+ #: includes/manager.php:789
1319
  msgid "Bad form Received"
1320
  msgstr "Formulaire reçu incorrect"
1321
 
1335
  msgid "Incorrect capability name."
1336
  msgstr "Nom de permission incorrect."
1337
 
1338
+ #: includes/manager.php:748
1339
  msgid "New capability added to role."
1340
  msgstr "Nouvelle permission ajouté au rôle."
1341
 
1400
  msgid "New backup saved."
1401
  msgstr "Nouvelle sauvegarde enregistrée."
1402
 
1403
+ #: includes/backup-handler.php:15 includes/manager.php:903
1404
  msgid "You do not have permission to restore roles."
1405
  msgstr "Vous n’avez pas la permission de restaurer les rôles."
1406
 
1604
  msgid "Roles and Capabilities"
1605
  msgstr "Rôles et capacités"
1606
 
1607
+ #: includes/manager.php:1009
1608
  msgid "Documentation"
1609
  msgstr "Documentation"
1610
 
1639
  #: includes/admin-load.php:400 includes/manager.php:339
1640
  #: includes/manager.php:408 includes/roles/class/class-pp-roles-admin.php:669
1641
  #: includes/roles/class/class-pp-roles-list-table.php:172
1642
+ #: includes/settings-ui.php:28
1643
  msgid "Capabilities"
1644
  msgstr "Permissions"
1645
 
languages/capsman-enhanced-it_IT.mo CHANGED
Binary file
languages/capsman-enhanced-it_IT.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - PublishPress Capabilities &#8211; User Role Access, Editor Permissions, Admin Menus - Stable (latest release)\n"
6
  "POT-Creation-Date: \n"
7
- "PO-Revision-Date: 2022-08-05 11:42-0500\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "Language: it\n"
@@ -14,15 +14,27 @@ msgstr ""
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Generator: Poedit 3.0.1\n"
16
 
17
- #: includes/settings-ui.php:80
 
 
 
 
 
 
 
 
 
 
 
 
18
  msgid "Support for Private Post Types"
19
  msgstr "Compatibilità con i tipi di contenuto privati"
20
 
21
- #: includes/settings-ui.php:59
22
  msgid "Show Private Taxonomies"
23
  msgstr "Visualizza le tassonomie private"
24
 
25
- #: includes/settings-ui.php:41
26
  msgid "Enable Multiple Roles When Creating Users"
27
  msgstr "Abilita ruoli multipli quando si creano gli utenti"
28
 
@@ -114,11 +126,11 @@ msgstr "Editor Gutenberg"
114
  msgid "Redirects"
115
  msgstr "Reindirizza"
116
 
117
- #: includes/features/restrict-editor-features.php:415
118
  msgid "Revisions"
119
  msgstr "Revisioni"
120
 
121
- #: includes/features/restrict-editor-features.php:403
122
  msgid "Add new block"
123
  msgstr "Aggiungi blocco"
124
 
@@ -153,13 +165,13 @@ msgstr "Limitato:"
153
 
154
  #: includes/features/editor-features.php:111
155
  #: includes/features/editor-features.php:113
156
- #: includes/features/editor-features.php:219
157
- #: includes/features/editor-features.php:221
158
  msgid "Save %s Restrictions"
159
  msgstr "Salva le limitazioni di %s"
160
 
161
  #: includes/features/editor-features.php:107
162
- #: includes/features/editor-features.php:215
163
  msgid "Save for all Post Types"
164
  msgstr "Salva per tutti i tipi di contenuto"
165
 
@@ -271,11 +283,11 @@ msgstr "Generale"
271
  msgid "%s role updated successfully."
272
  msgstr "Ruolo %s aggiornato correttamente."
273
 
274
- #: includes/manager.php:937
275
  msgid "You do not have permission to perform this action."
276
  msgstr "Non hai i permessi per effettuare questa azione."
277
 
278
- #: includes/features/restrict-editor-features.php:411
279
  msgid "Template"
280
  msgstr "Template"
281
 
@@ -379,7 +391,7 @@ msgstr "Il ruolo \"%s\" esiste già, scegli un nome diverso."
379
  msgid "Invalid role name entry: %s"
380
  msgstr "Nome di ruolo inserito non valido: %s"
381
 
382
- #: includes/manager.php:535 includes/manager.php:557
383
  msgid "You do not have permission to manage admin features."
384
  msgstr "Non hai le autorizzazioni adatte per gestire le caratteristiche amministrative."
385
 
@@ -457,32 +469,32 @@ msgid "Admin Feature Restrictions"
457
  msgstr "Restrizioni caratteristiche di amministrazione"
458
 
459
  #: includes/backup.php:362 includes/features/admin-features.php:236
460
- #: includes/features/editor-features.php:241
461
  msgid "Click here to install PublishPress Permissions"
462
  msgstr "Fai clic qui per installare PublishPress Permissions"
463
 
464
  #: includes/backup.php:359 includes/features/admin-features.php:233
465
- #: includes/features/editor-features.php:238
466
  msgid "PublishPress Permissions is 100% free to install."
467
  msgstr "PublishPress Permissions è al 100% gratuito da installare."
468
 
469
  #: includes/backup.php:358 includes/features/admin-features.php:232
470
- #: includes/features/editor-features.php:237
471
  msgid "Allow specific user roles or users to manage each post."
472
  msgstr "Consenti a ruoli o utenti specifici di gestire ogni singolo articolo."
473
 
474
  #: includes/backup.php:357 includes/features/admin-features.php:231
475
- #: includes/features/editor-features.php:236
476
  msgid "Choose who can read and edit each post."
477
  msgstr "Scegli chi può leggere e modificare ogni singolo articolo."
478
 
479
  #: includes/backup.php:355 includes/features/admin-features.php:229
480
- #: includes/features/editor-features.php:234
481
  msgid "Control permissions for individual posts and pages"
482
  msgstr "Controlli le autorizzazioni per ogni singolo articolo e pagina"
483
 
484
  #: includes/backup.php:354 includes/features/admin-features.php:228
485
- #: includes/features/editor-features.php:233
486
  msgid "Recommendations for you"
487
  msgstr "Raccomandazioni per te"
488
 
@@ -595,7 +607,7 @@ msgstr "Elenco di controllo"
595
  msgid "Metaboxes"
596
  msgstr "Metaboxes"
597
 
598
- #: includes/manager.php:519 includes/manager.php:573
599
  msgid "Settings updated."
600
  msgstr "Impostazioni aggiornate."
601
 
@@ -606,109 +618,109 @@ msgstr "Non hai i permessi per gestire le funzionalità dell'editor."
606
  #: includes/admin-load.php:424 includes/functions-admin.php:201
607
  #: includes/manager.php:375 includes/manager.php:409
608
  #: includes/roles/class/class-pp-roles-list-table.php:173
609
- #: includes/settings-ui.php:23
610
  msgid "Editor Features"
611
  msgstr "Funzioni dell'editor"
612
 
613
- #: includes/features/restrict-editor-features.php:474
614
  msgid "Text settings"
615
  msgstr "Impostazioni del testo"
616
 
617
- #: includes/features/restrict-editor-features.php:473
618
  msgid "Color settings"
619
  msgstr "Impostazioni colore"
620
 
621
- #: includes/features/restrict-editor-features.php:472
622
  msgid "Typography"
623
  msgstr "Tipografia"
624
 
625
- #: includes/features/restrict-editor-features.php:471
626
  msgid "Paragraph"
627
  msgstr "Paragrafo"
628
 
629
- #: includes/features/restrict-editor-features.php:469
630
- #: includes/features/restrict-editor-features.php:470
631
  msgid "Block Panel"
632
  msgstr "Pannello del blocco"
633
 
634
- #: includes/features/restrict-editor-features.php:463
635
  msgid "Post Attributes"
636
  msgstr "Attributi articolo"
637
 
638
- #: includes/features/restrict-editor-features.php:453
639
  msgid "Excerpt"
640
  msgstr "Riassunto"
641
 
642
- #: includes/features/restrict-editor-features.php:448
643
  msgid "Featured image"
644
  msgstr "Immagine in evidenza"
645
 
646
- #: includes/features/restrict-editor-features.php:409
647
  msgid "Status & visibility"
648
  msgstr "Stato e visibilità"
649
 
650
- #: includes/features/restrict-editor-features.php:408
651
  msgid "Document Panel"
652
  msgstr "Pannello documenti"
653
 
654
- #: includes/features/restrict-editor-features.php:398
655
  msgid "Content"
656
  msgstr "Contenuti"
657
 
658
- #: includes/features/restrict-editor-features.php:393
659
  msgid "Edit title"
660
  msgstr "Modifica titolo"
661
 
662
- #: includes/features/restrict-editor-features.php:391
663
  msgid "Body"
664
  msgstr "Contenuto"
665
 
666
- #: includes/features/restrict-editor-features.php:388
667
  msgid "Options"
668
  msgstr "Opzioni"
669
 
670
- #: includes/features/restrict-editor-features.php:386
671
  msgid "Publish / Update"
672
  msgstr "Pubblica/Aggiorna"
673
 
674
- #: includes/features/restrict-editor-features.php:384
675
  msgid "Switch to draft"
676
  msgstr "Passa alla bozza"
677
 
678
- #: includes/features/restrict-editor-features.php:382
679
  msgid "Top Bar - Right"
680
  msgstr "Barra in alto - Destra"
681
 
682
- #: includes/features/restrict-editor-features.php:379
683
  msgid "Outline"
684
  msgstr "Contorno"
685
 
686
- #: includes/features/restrict-editor-features.php:378
687
  msgid "Details"
688
  msgstr "Dettagli"
689
 
690
- #: includes/features/restrict-editor-features.php:377
691
  msgid "Redo"
692
  msgstr "Ripeti"
693
 
694
- #: includes/features/restrict-editor-features.php:376
695
  msgid "Undo"
696
  msgstr "Annulla"
697
 
698
- #: includes/features/restrict-editor-features.php:375
699
  msgid "Modes"
700
  msgstr "Modalità"
701
 
702
- #: includes/features/restrict-editor-features.php:374
703
  msgid "Add block"
704
  msgstr "Aggiungi blocco"
705
 
706
- #: includes/features/restrict-editor-features.php:373
707
  msgid "Top Bar - Left"
708
  msgstr "Barra in alto - Sinistra"
709
 
710
  #: includes/features/restrict-editor-features.php:158
711
- #: includes/features/restrict-editor-features.php:458
712
  msgid "Discussion"
713
  msgstr "Discussione"
714
 
@@ -745,7 +757,7 @@ msgid "Page Boxes"
745
  msgstr "Riquadri pagina"
746
 
747
  #: includes/features/restrict-editor-features.php:104
748
- #: includes/features/restrict-editor-features.php:424
749
  msgid "Tags"
750
  msgstr "Tag"
751
 
@@ -754,7 +766,7 @@ msgid "Add New Category"
754
  msgstr "Aggiungi una nuova categoria"
755
 
756
  #: includes/features/restrict-editor-features.php:92
757
- #: includes/features/restrict-editor-features.php:418
758
  msgid "Categories"
759
  msgstr "Categorie"
760
 
@@ -791,12 +803,12 @@ msgid "Publish Status "
791
  msgstr "Stato pubblicazione "
792
 
793
  #: includes/features/restrict-editor-features.php:80
794
- #: includes/features/restrict-editor-features.php:385
795
  msgid "Preview"
796
  msgstr "Anteprima"
797
 
798
  #: includes/features/restrict-editor-features.php:79
799
- #: includes/features/restrict-editor-features.php:383
800
  msgid "Save Draft"
801
  msgstr "Salva bozza"
802
 
@@ -818,7 +830,7 @@ msgid "Media Buttons (all)"
818
  msgstr "Pulsanti Media (tutti)"
819
 
820
  #: includes/features/restrict-editor-features.php:59
821
- #: includes/features/restrict-editor-features.php:416
822
  msgid "Permalink"
823
  msgstr "Permalink"
824
 
@@ -869,7 +881,7 @@ msgstr "sincronizza le opzioni su tutti i siti adesso"
869
  msgid "Copy option settings to all sites now"
870
  msgstr "Copia le impostazioni delle opzioni su tutti i siti adesso"
871
 
872
- #: includes/handler.php:61 includes/handler.php:89 includes/manager.php:756
873
  msgid "The selected role is not editable."
874
  msgstr "Il ruolo selezionato non è modificabile."
875
 
@@ -938,7 +950,7 @@ msgid "Restore"
938
  msgstr "Ripristina"
939
 
940
  #: includes/admin-load.php:429
941
- #: includes/features/restrict-editor-features.php:387 includes/manager.php:383
942
  msgid "Settings"
943
  msgstr "Impostazioni"
944
 
@@ -956,7 +968,7 @@ msgid "Search results for &#8220;%s&#8221;"
956
  msgstr "Risultati di ricerca per &#8220;%s&#8221;"
957
 
958
  #: includes/admin-load.php:422 includes/manager.php:361
959
- #: includes/roles/roles.php:8 includes/settings-ui.php:21
960
  msgid "Roles"
961
  msgstr "Ruoli"
962
 
@@ -1097,31 +1109,31 @@ msgid_plural "All %s"
1097
  msgstr[0] "Tutto %s"
1098
  msgstr[1] "Tutti %s"
1099
 
1100
- #: includes/manager.php:1007
1101
  msgid "Contact"
1102
  msgstr "Contatto"
1103
 
1104
- #: includes/manager.php:1007
1105
  msgid "Contact the PublishPress team"
1106
  msgstr "Contatta il team di PublishPress"
1107
 
1108
- #: includes/manager.php:1005
1109
  msgid "Capabilites Documentation"
1110
  msgstr "Documentazione di Capabilites"
1111
 
1112
- #: includes/manager.php:1003
1113
  msgid "About"
1114
  msgstr "Chi siamo"
1115
 
1116
- #: includes/manager.php:1003
1117
  msgid "About PublishPress Capabilities"
1118
  msgstr "Informazioni su PublishPress Capabilities"
1119
 
1120
- #: includes/manager.php:992
1121
  msgid "If you like %s, please leave us a %s rating. Thank you!"
1122
  msgstr "Se sei soddisfatto di %s, lasciaci una valutazione di %s!"
1123
 
1124
- #: includes/manager.php:678 includes/manager.php:712 includes/manager.php:730
1125
  msgid "You do not have permission to manage capabilities."
1126
  msgstr "Non hai le autorizzazioni per gestire le capacità."
1127
 
@@ -1303,7 +1315,7 @@ msgstr "attiva %1$sImpostazioni avanzate%2$s, vedi utilizzo dei ruoli"
1303
  msgid "see %1$sRole Usage%2$s: \"Pattern Roles\""
1304
  msgstr "vedi %1$sUtilizzo dei ruoli%2$s: \"Modelli di ruolo\""
1305
 
1306
- #: includes/manager.php:785
1307
  msgid "Bad form Received"
1308
  msgstr "E' stato ricevuto un modulo errato"
1309
 
@@ -1323,7 +1335,7 @@ msgstr "E' stato ricevuto un modulo errato."
1323
  msgid "Incorrect capability name."
1324
  msgstr "Nome non valido per la capacità."
1325
 
1326
- #: includes/manager.php:744
1327
  msgid "New capability added to role."
1328
  msgstr "La nuova capacità é stata aggiunta al ruolo."
1329
 
@@ -1388,7 +1400,7 @@ msgstr "Non é stato possibile effettuare il ripristino. Non é stato trovato al
1388
  msgid "New backup saved."
1389
  msgstr "Il nuovo backup é stato salvato."
1390
 
1391
- #: includes/backup-handler.php:15 includes/manager.php:899
1392
  msgid "You do not have permission to restore roles."
1393
  msgstr "Non hai le autorizzazioni per il ripristino dei ruoli."
1394
 
@@ -1592,7 +1604,7 @@ msgstr "Definisci automaticamente le capacità specifiche del tipo per i tuoi ti
1592
  msgid "Roles and Capabilities"
1593
  msgstr "Ruoli e capacità"
1594
 
1595
- #: includes/manager.php:1005
1596
  msgid "Documentation"
1597
  msgstr "Documentazione"
1598
 
@@ -1627,7 +1639,7 @@ msgstr "Nega esplicitamente questa capacità memorizzandola come disabilitata"
1627
  #: includes/admin-load.php:400 includes/manager.php:339
1628
  #: includes/manager.php:408 includes/roles/class/class-pp-roles-admin.php:669
1629
  #: includes/roles/class/class-pp-roles-list-table.php:172
1630
- #: includes/settings-ui.php:22
1631
  msgid "Capabilities"
1632
  msgstr "Capacità"
1633
 
4
  msgstr ""
5
  "Project-Id-Version: Plugins - PublishPress Capabilities &#8211; User Role Access, Editor Permissions, Admin Menus - Stable (latest release)\n"
6
  "POT-Creation-Date: \n"
7
+ "PO-Revision-Date: 2022-08-15 17:48-0500\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "Language: it\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Generator: Poedit 3.0.1\n"
16
 
17
+ #: includes/settings-ui.php:99
18
+ msgid "Enable Classic Editor Tab"
19
+ msgstr "Abilita la scheda dell'editor classico"
20
+
21
+ #: includes/features/restrict-editor-features.php:163
22
+ msgid "Coupon Description"
23
+ msgstr "Descrizione del coupon"
24
+
25
+ #: includes/features/editor-features.php:216
26
+ msgid "show Classic Editor controls"
27
+ msgstr "mostra i controlli dell'editor classico"
28
+
29
+ #: includes/settings-ui.php:86
30
  msgid "Support for Private Post Types"
31
  msgstr "Compatibilità con i tipi di contenuto privati"
32
 
33
+ #: includes/settings-ui.php:65
34
  msgid "Show Private Taxonomies"
35
  msgstr "Visualizza le tassonomie private"
36
 
37
+ #: includes/settings-ui.php:47
38
  msgid "Enable Multiple Roles When Creating Users"
39
  msgstr "Abilita ruoli multipli quando si creano gli utenti"
40
 
126
  msgid "Redirects"
127
  msgstr "Reindirizza"
128
 
129
+ #: includes/features/restrict-editor-features.php:421
130
  msgid "Revisions"
131
  msgstr "Revisioni"
132
 
133
+ #: includes/features/restrict-editor-features.php:409
134
  msgid "Add new block"
135
  msgstr "Aggiungi blocco"
136
 
165
 
166
  #: includes/features/editor-features.php:111
167
  #: includes/features/editor-features.php:113
168
+ #: includes/features/editor-features.php:225
169
+ #: includes/features/editor-features.php:227
170
  msgid "Save %s Restrictions"
171
  msgstr "Salva le limitazioni di %s"
172
 
173
  #: includes/features/editor-features.php:107
174
+ #: includes/features/editor-features.php:221
175
  msgid "Save for all Post Types"
176
  msgstr "Salva per tutti i tipi di contenuto"
177
 
283
  msgid "%s role updated successfully."
284
  msgstr "Ruolo %s aggiornato correttamente."
285
 
286
+ #: includes/manager.php:941
287
  msgid "You do not have permission to perform this action."
288
  msgstr "Non hai i permessi per effettuare questa azione."
289
 
290
+ #: includes/features/restrict-editor-features.php:417
291
  msgid "Template"
292
  msgstr "Template"
293
 
391
  msgid "Invalid role name entry: %s"
392
  msgstr "Nome di ruolo inserito non valido: %s"
393
 
394
+ #: includes/manager.php:539 includes/manager.php:561
395
  msgid "You do not have permission to manage admin features."
396
  msgstr "Non hai le autorizzazioni adatte per gestire le caratteristiche amministrative."
397
 
469
  msgstr "Restrizioni caratteristiche di amministrazione"
470
 
471
  #: includes/backup.php:362 includes/features/admin-features.php:236
472
+ #: includes/features/editor-features.php:247
473
  msgid "Click here to install PublishPress Permissions"
474
  msgstr "Fai clic qui per installare PublishPress Permissions"
475
 
476
  #: includes/backup.php:359 includes/features/admin-features.php:233
477
+ #: includes/features/editor-features.php:244
478
  msgid "PublishPress Permissions is 100% free to install."
479
  msgstr "PublishPress Permissions è al 100% gratuito da installare."
480
 
481
  #: includes/backup.php:358 includes/features/admin-features.php:232
482
+ #: includes/features/editor-features.php:243
483
  msgid "Allow specific user roles or users to manage each post."
484
  msgstr "Consenti a ruoli o utenti specifici di gestire ogni singolo articolo."
485
 
486
  #: includes/backup.php:357 includes/features/admin-features.php:231
487
+ #: includes/features/editor-features.php:242
488
  msgid "Choose who can read and edit each post."
489
  msgstr "Scegli chi può leggere e modificare ogni singolo articolo."
490
 
491
  #: includes/backup.php:355 includes/features/admin-features.php:229
492
+ #: includes/features/editor-features.php:240
493
  msgid "Control permissions for individual posts and pages"
494
  msgstr "Controlli le autorizzazioni per ogni singolo articolo e pagina"
495
 
496
  #: includes/backup.php:354 includes/features/admin-features.php:228
497
+ #: includes/features/editor-features.php:239
498
  msgid "Recommendations for you"
499
  msgstr "Raccomandazioni per te"
500
 
607
  msgid "Metaboxes"
608
  msgstr "Metaboxes"
609
 
610
+ #: includes/manager.php:523 includes/manager.php:577
611
  msgid "Settings updated."
612
  msgstr "Impostazioni aggiornate."
613
 
618
  #: includes/admin-load.php:424 includes/functions-admin.php:201
619
  #: includes/manager.php:375 includes/manager.php:409
620
  #: includes/roles/class/class-pp-roles-list-table.php:173
621
+ #: includes/settings-ui.php:29
622
  msgid "Editor Features"
623
  msgstr "Funzioni dell'editor"
624
 
625
+ #: includes/features/restrict-editor-features.php:480
626
  msgid "Text settings"
627
  msgstr "Impostazioni del testo"
628
 
629
+ #: includes/features/restrict-editor-features.php:479
630
  msgid "Color settings"
631
  msgstr "Impostazioni colore"
632
 
633
+ #: includes/features/restrict-editor-features.php:478
634
  msgid "Typography"
635
  msgstr "Tipografia"
636
 
637
+ #: includes/features/restrict-editor-features.php:477
638
  msgid "Paragraph"
639
  msgstr "Paragrafo"
640
 
641
+ #: includes/features/restrict-editor-features.php:475
642
+ #: includes/features/restrict-editor-features.php:476
643
  msgid "Block Panel"
644
  msgstr "Pannello del blocco"
645
 
646
+ #: includes/features/restrict-editor-features.php:469
647
  msgid "Post Attributes"
648
  msgstr "Attributi articolo"
649
 
650
+ #: includes/features/restrict-editor-features.php:459
651
  msgid "Excerpt"
652
  msgstr "Riassunto"
653
 
654
+ #: includes/features/restrict-editor-features.php:454
655
  msgid "Featured image"
656
  msgstr "Immagine in evidenza"
657
 
658
+ #: includes/features/restrict-editor-features.php:415
659
  msgid "Status & visibility"
660
  msgstr "Stato e visibilità"
661
 
662
+ #: includes/features/restrict-editor-features.php:414
663
  msgid "Document Panel"
664
  msgstr "Pannello documenti"
665
 
666
+ #: includes/features/restrict-editor-features.php:404
667
  msgid "Content"
668
  msgstr "Contenuti"
669
 
670
+ #: includes/features/restrict-editor-features.php:399
671
  msgid "Edit title"
672
  msgstr "Modifica titolo"
673
 
674
+ #: includes/features/restrict-editor-features.php:397
675
  msgid "Body"
676
  msgstr "Contenuto"
677
 
678
+ #: includes/features/restrict-editor-features.php:394
679
  msgid "Options"
680
  msgstr "Opzioni"
681
 
682
+ #: includes/features/restrict-editor-features.php:392
683
  msgid "Publish / Update"
684
  msgstr "Pubblica/Aggiorna"
685
 
686
+ #: includes/features/restrict-editor-features.php:390
687
  msgid "Switch to draft"
688
  msgstr "Passa alla bozza"
689
 
690
+ #: includes/features/restrict-editor-features.php:388
691
  msgid "Top Bar - Right"
692
  msgstr "Barra in alto - Destra"
693
 
694
+ #: includes/features/restrict-editor-features.php:385
695
  msgid "Outline"
696
  msgstr "Contorno"
697
 
698
+ #: includes/features/restrict-editor-features.php:384
699
  msgid "Details"
700
  msgstr "Dettagli"
701
 
702
+ #: includes/features/restrict-editor-features.php:383
703
  msgid "Redo"
704
  msgstr "Ripeti"
705
 
706
+ #: includes/features/restrict-editor-features.php:382
707
  msgid "Undo"
708
  msgstr "Annulla"
709
 
710
+ #: includes/features/restrict-editor-features.php:381
711
  msgid "Modes"
712
  msgstr "Modalità"
713
 
714
+ #: includes/features/restrict-editor-features.php:380
715
  msgid "Add block"
716
  msgstr "Aggiungi blocco"
717
 
718
+ #: includes/features/restrict-editor-features.php:379
719
  msgid "Top Bar - Left"
720
  msgstr "Barra in alto - Sinistra"
721
 
722
  #: includes/features/restrict-editor-features.php:158
723
+ #: includes/features/restrict-editor-features.php:464
724
  msgid "Discussion"
725
  msgstr "Discussione"
726
 
757
  msgstr "Riquadri pagina"
758
 
759
  #: includes/features/restrict-editor-features.php:104
760
+ #: includes/features/restrict-editor-features.php:430
761
  msgid "Tags"
762
  msgstr "Tag"
763
 
766
  msgstr "Aggiungi una nuova categoria"
767
 
768
  #: includes/features/restrict-editor-features.php:92
769
+ #: includes/features/restrict-editor-features.php:424
770
  msgid "Categories"
771
  msgstr "Categorie"
772
 
803
  msgstr "Stato pubblicazione "
804
 
805
  #: includes/features/restrict-editor-features.php:80
806
+ #: includes/features/restrict-editor-features.php:391
807
  msgid "Preview"
808
  msgstr "Anteprima"
809
 
810
  #: includes/features/restrict-editor-features.php:79
811
+ #: includes/features/restrict-editor-features.php:389
812
  msgid "Save Draft"
813
  msgstr "Salva bozza"
814
 
830
  msgstr "Pulsanti Media (tutti)"
831
 
832
  #: includes/features/restrict-editor-features.php:59
833
+ #: includes/features/restrict-editor-features.php:422
834
  msgid "Permalink"
835
  msgstr "Permalink"
836
 
881
  msgid "Copy option settings to all sites now"
882
  msgstr "Copia le impostazioni delle opzioni su tutti i siti adesso"
883
 
884
+ #: includes/handler.php:61 includes/handler.php:89 includes/manager.php:760
885
  msgid "The selected role is not editable."
886
  msgstr "Il ruolo selezionato non è modificabile."
887
 
950
  msgstr "Ripristina"
951
 
952
  #: includes/admin-load.php:429
953
+ #: includes/features/restrict-editor-features.php:393 includes/manager.php:383
954
  msgid "Settings"
955
  msgstr "Impostazioni"
956
 
968
  msgstr "Risultati di ricerca per &#8220;%s&#8221;"
969
 
970
  #: includes/admin-load.php:422 includes/manager.php:361
971
+ #: includes/roles/roles.php:8 includes/settings-ui.php:27
972
  msgid "Roles"
973
  msgstr "Ruoli"
974
 
1109
  msgstr[0] "Tutto %s"
1110
  msgstr[1] "Tutti %s"
1111
 
1112
+ #: includes/manager.php:1011
1113
  msgid "Contact"
1114
  msgstr "Contatto"
1115
 
1116
+ #: includes/manager.php:1011
1117
  msgid "Contact the PublishPress team"
1118
  msgstr "Contatta il team di PublishPress"
1119
 
1120
+ #: includes/manager.php:1009
1121
  msgid "Capabilites Documentation"
1122
  msgstr "Documentazione di Capabilites"
1123
 
1124
+ #: includes/manager.php:1007
1125
  msgid "About"
1126
  msgstr "Chi siamo"
1127
 
1128
+ #: includes/manager.php:1007
1129
  msgid "About PublishPress Capabilities"
1130
  msgstr "Informazioni su PublishPress Capabilities"
1131
 
1132
+ #: includes/manager.php:996
1133
  msgid "If you like %s, please leave us a %s rating. Thank you!"
1134
  msgstr "Se sei soddisfatto di %s, lasciaci una valutazione di %s!"
1135
 
1136
+ #: includes/manager.php:682 includes/manager.php:716 includes/manager.php:734
1137
  msgid "You do not have permission to manage capabilities."
1138
  msgstr "Non hai le autorizzazioni per gestire le capacità."
1139
 
1315
  msgid "see %1$sRole Usage%2$s: \"Pattern Roles\""
1316
  msgstr "vedi %1$sUtilizzo dei ruoli%2$s: \"Modelli di ruolo\""
1317
 
1318
+ #: includes/manager.php:789
1319
  msgid "Bad form Received"
1320
  msgstr "E' stato ricevuto un modulo errato"
1321
 
1335
  msgid "Incorrect capability name."
1336
  msgstr "Nome non valido per la capacità."
1337
 
1338
+ #: includes/manager.php:748
1339
  msgid "New capability added to role."
1340
  msgstr "La nuova capacità é stata aggiunta al ruolo."
1341
 
1400
  msgid "New backup saved."
1401
  msgstr "Il nuovo backup é stato salvato."
1402
 
1403
+ #: includes/backup-handler.php:15 includes/manager.php:903
1404
  msgid "You do not have permission to restore roles."
1405
  msgstr "Non hai le autorizzazioni per il ripristino dei ruoli."
1406
 
1604
  msgid "Roles and Capabilities"
1605
  msgstr "Ruoli e capacità"
1606
 
1607
+ #: includes/manager.php:1009
1608
  msgid "Documentation"
1609
  msgstr "Documentazione"
1610
 
1639
  #: includes/admin-load.php:400 includes/manager.php:339
1640
  #: includes/manager.php:408 includes/roles/class/class-pp-roles-admin.php:669
1641
  #: includes/roles/class/class-pp-roles-list-table.php:172
1642
+ #: includes/settings-ui.php:28
1643
  msgid "Capabilities"
1644
  msgstr "Capacità"
1645
 
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
  === PublishPress Capabilities - User Role Access, Editor Permissions, Admin Menus ===
2
 
3
- Contributors: publishpress, kevinB, stevejburge, andergmartins
4
  Author: PublishPress
5
  Author URI: https://publishpress.com
6
  Tags: user roles, capabilities, permissions, admin menus, post editing, post types, taxonomies
7
  Requires at least: 4.9.7
8
  Tested up to: 6.0
9
  Requires PHP: 5.6.20
10
- Stable tag: 2.5.0
11
  License: GPLv3
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
13
 
@@ -409,6 +409,16 @@ Fixed : Security issue. Please update.
409
 
410
  == Changelog ==
411
 
 
 
 
 
 
 
 
 
 
 
412
  = 2.5.0 - 11 Aug 2022 =
413
  * Update : Admin Features UI design consistency #466
414
  * Fixed : Support WordPress API for Editor features Classic Editor disable / enable #531
1
  === PublishPress Capabilities - User Role Access, Editor Permissions, Admin Menus ===
2
 
3
+ Contributors: publishpress, kevinB, stevejburge, andergmartins, olatechpro
4
  Author: PublishPress
5
  Author URI: https://publishpress.com
6
  Tags: user roles, capabilities, permissions, admin menus, post editing, post types, taxonomies
7
  Requires at least: 4.9.7
8
  Tested up to: 6.0
9
  Requires PHP: 5.6.20
10
+ Stable tag: 2.5.1
11
  License: GPLv3
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
13
 
409
 
410
  == Changelog ==
411
 
412
+ = 2.5.1 - 13 Sep 2022 =
413
+ * Added : Ability to block user login by role #510
414
+ * Update : Add disable WooCommerce admin restrictions in role settings #549
415
+ * Update : Hide taxonomy screen option for editor features #554
416
+ * Update : Hide metabox screen option for editor features #556
417
+ * Fixed : It's possible to access customize page even after blocking with admin menu #559
418
+ * Fixed : Uncaught error: Illegal offset type in isset or empty #564
419
+ * Update : Translation Note Suggestion for "Editor" #567
420
+ * Update : Capability-FR-IT-Translation_updates-August15_2022 #551
421
+
422
  = 2.5.0 - 11 Aug 2022 =
423
  * Update : Admin Features UI design consistency #466
424
  * Fixed : Support WordPress API for Editor features Classic Editor disable / enable #531
vendor/composer/installed.json CHANGED
@@ -146,23 +146,23 @@
146
  },
147
  {
148
  "name": "publishpress/wordpress-banners",
149
- "version": "v1.3.0",
150
- "version_normalized": "1.3.0.0",
151
  "source": {
152
  "type": "git",
153
  "url": "https://github.com/publishpress/wordpress-banners.git",
154
- "reference": "08e20b98320367bdbc59105095c72e7ccbf968f1"
155
  },
156
  "dist": {
157
  "type": "zip",
158
- "url": "https://api.github.com/repos/publishpress/wordpress-banners/zipball/08e20b98320367bdbc59105095c72e7ccbf968f1",
159
- "reference": "08e20b98320367bdbc59105095c72e7ccbf968f1",
160
  "shasum": ""
161
  },
162
  "require": {
163
  "php": ">=5.6.20"
164
  },
165
- "time": "2022-06-03T15:45:27+00:00",
166
  "type": "library",
167
  "installation-source": "dist",
168
  "autoload": {
@@ -184,7 +184,7 @@
184
  "homepage": "http://publishpress.com/",
185
  "support": {
186
  "issues": "https://github.com/publishpress/wordpress-banners/issues",
187
- "source": "https://github.com/publishpress/wordpress-banners/tree/v1.3.0"
188
  },
189
  "install-path": "../publishpress/wordpress-banners"
190
  },
146
  },
147
  {
148
  "name": "publishpress/wordpress-banners",
149
+ "version": "v1.3.1",
150
+ "version_normalized": "1.3.1.0",
151
  "source": {
152
  "type": "git",
153
  "url": "https://github.com/publishpress/wordpress-banners.git",
154
+ "reference": "bcb5f9f00973d53e2db027f9a05c059f18743fae"
155
  },
156
  "dist": {
157
  "type": "zip",
158
+ "url": "https://api.github.com/repos/publishpress/wordpress-banners/zipball/bcb5f9f00973d53e2db027f9a05c059f18743fae",
159
+ "reference": "bcb5f9f00973d53e2db027f9a05c059f18743fae",
160
  "shasum": ""
161
  },
162
  "require": {
163
  "php": ">=5.6.20"
164
  },
165
+ "time": "2022-08-15T18:07:23+00:00",
166
  "type": "library",
167
  "installation-source": "dist",
168
  "autoload": {
184
  "homepage": "http://publishpress.com/",
185
  "support": {
186
  "issues": "https://github.com/publishpress/wordpress-banners/issues",
187
+ "source": "https://github.com/publishpress/wordpress-banners/tree/v1.3.1"
188
  },
189
  "install-path": "../publishpress/wordpress-banners"
190
  },
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '2765ac96f7a9c88b4e4360adfe21b7600a0a5ca7',
9
  'name' => 'publishpress/capability-manager-enhanced',
10
  'dev' => false,
11
  ),
@@ -34,7 +34,7 @@
34
  'type' => 'wordpress-plugin',
35
  'install_path' => __DIR__ . '/../../',
36
  'aliases' => array(),
37
- 'reference' => '2765ac96f7a9c88b4e4360adfe21b7600a0a5ca7',
38
  'dev_requirement' => false,
39
  ),
40
  'publishpress/publishpress-instance-protection' => array(
@@ -47,12 +47,12 @@
47
  'dev_requirement' => false,
48
  ),
49
  'publishpress/wordpress-banners' => array(
50
- 'pretty_version' => 'v1.3.0',
51
- 'version' => '1.3.0.0',
52
  'type' => 'library',
53
  'install_path' => __DIR__ . '/../publishpress/wordpress-banners',
54
  'aliases' => array(),
55
- 'reference' => '08e20b98320367bdbc59105095c72e7ccbf968f1',
56
  'dev_requirement' => false,
57
  ),
58
  'publishpress/wordpress-reviews' => array(
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => 'cb1f52d0b59e4a3d8e8d6aabfe007d7c231b67e1',
9
  'name' => 'publishpress/capability-manager-enhanced',
10
  'dev' => false,
11
  ),
34
  'type' => 'wordpress-plugin',
35
  'install_path' => __DIR__ . '/../../',
36
  'aliases' => array(),
37
+ 'reference' => 'cb1f52d0b59e4a3d8e8d6aabfe007d7c231b67e1',
38
  'dev_requirement' => false,
39
  ),
40
  'publishpress/publishpress-instance-protection' => array(
47
  'dev_requirement' => false,
48
  ),
49
  'publishpress/wordpress-banners' => array(
50
+ 'pretty_version' => 'v1.3.1',
51
+ 'version' => '1.3.1.0',
52
  'type' => 'library',
53
  'install_path' => __DIR__ . '/../publishpress/wordpress-banners',
54
  'aliases' => array(),
55
+ 'reference' => 'bcb5f9f00973d53e2db027f9a05c059f18743fae',
56
  'dev_requirement' => false,
57
  ),
58
  'publishpress/wordpress-reviews' => array(
vendor/publishpress/wordpress-banners/.gitattributes ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ .gitignore export-ignore
2
+ README.md export-ignore
3
+ composer.json export-ignore
4
+ composer.lock export-ignore
vendor/publishpress/wordpress-banners/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- vendor/
2
- .idea/
 
 
vendor/publishpress/wordpress-banners/BannersMain.php CHANGED
@@ -25,7 +25,7 @@ namespace PublishPress\WordPressBanners;
25
  use Exception;
26
 
27
  if (! defined('PP_WP_BANNERS_VERSION')) {
28
- define('PP_WP_BANNERS_VERSION', '1.3.0');
29
  }
30
 
31
  if (! class_exists('\\PublishPress\\WordPressBanners\\BannersMain')) {
25
  use Exception;
26
 
27
  if (! defined('PP_WP_BANNERS_VERSION')) {
28
+ define('PP_WP_BANNERS_VERSION', '1.3.1');
29
  }
30
 
31
  if (! class_exists('\\PublishPress\\WordPressBanners\\BannersMain')) {
vendor/publishpress/wordpress-banners/README.md DELETED
@@ -1 +0,0 @@
1
- # Display banners in admin pages of PublishPress Plugins
 
vendor/publishpress/wordpress-banners/composer.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "name": "publishpress/wordpress-banners",
3
- "description": "Display banners in admin pages of PublishPress Plugins.",
4
- "type": "library",
5
- "license": "GPL-3.0-or-later",
6
- "homepage": "http://publishpress.com/",
7
- "require": {
8
- "php": ">=5.6.20"
9
- },
10
- "authors": [
11
- {
12
- "name": "PublishPress",
13
- "email": "help@publishpress.com"
14
- }
15
- ],
16
- "autoload": {
17
- "files": [
18
- "BannersMain.php"
19
- ]
20
- },
21
- "minimum-stability": "dev"
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/publishpress/wordpress-banners/composer.lock DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "_readme": [
3
- "This file locks the dependencies of your project to a known state",
4
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
- "This file is @generated automatically"
6
- ],
7
- "content-hash": "672399f6b94819b598ef160586b5f23f",
8
- "packages": [],
9
- "packages-dev": [],
10
- "aliases": [],
11
- "minimum-stability": "dev",
12
- "stability-flags": [],
13
- "prefer-stable": false,
14
- "prefer-lowest": false,
15
- "platform": {
16
- "php": ">=5.6.20"
17
- },
18
- "platform-dev": [],
19
- "plugin-api-version": "2.1.0"
20
- }