WPFront User Role Editor - Version 2.12

Version Description

  • Widget permissions added. Documentation.
Download this release

Release Info

Developer syammohanm
Plugin Icon 128x128 WPFront User Role Editor
Version 2.12
Comparing to
See all releases

Code changes from version 2.11.3 to 2.12

classes/class-wpfront-user-role-editor-nav-menu.php CHANGED
@@ -45,14 +45,14 @@ if (!class_exists('WPFront_User_Role_Editor_Nav_Menu')) {
45
 
46
  public function __construct($main) {
47
  parent::__construct($main);
48
-
49
- if($this->main->disable_navigation_menu_permissions())
50
  return;
51
-
52
  add_action('init', array($this, 'wp_init'), 9999);
53
  add_action('wp_nav_menu_item_custom_fields', array($this, 'menu_item_custom_fields'), 10, 4);
54
  add_action('wp_nav_menu_item_title_user_restriction_type', array($this, 'menu_item_title_user_restriction_type'), 10, 4);
55
- add_filter('wp_nav_menu_item_custom_fields_roles_list', array($this, 'menu_item_custom_fields_roles_list'), 10, 5);
56
 
57
  add_action('wp_update_nav_menu_item', array($this, 'update_nav_menu_item'), 10, 3);
58
  add_filter('wp_get_nav_menu_items', array($this, 'override_nav_menu_items'), 10, 3);
@@ -64,15 +64,15 @@ if (!class_exists('WPFront_User_Role_Editor_Nav_Menu')) {
64
  public static function nav_menu_help_url() {
65
  return 'https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/';
66
  }
67
-
68
  public function wp_init() {
69
  add_filter('wp_edit_nav_menu_walker', array($this, 'override_edit_nav_menu_walker'), 9999);
70
  }
71
 
72
  public static function override_edit_nav_menu_walker($current = 'Walker_Nav_Menu_Edit') {
73
- if($current !== 'Walker_Nav_Menu_Edit')
74
  return $current;
75
-
76
  return 'WPFront_User_Role_Editor_Nav_Menu_Walker';
77
  }
78
 
@@ -101,8 +101,8 @@ if (!class_exists('WPFront_User_Role_Editor_Nav_Menu')) {
101
  <?php
102
  }
103
 
104
- public function menu_item_custom_fields_roles_list($s, $item_id, $item, $depth, $args) {
105
- return sprintf($this->__('%s to limit based on roles.'), '<a target="_blank" href="https://wpfront.com/navmenu">Upgrade to Pro</a>');
106
  }
107
 
108
  public function menu_item_custom_fields($item_id, $item, $depth, $args) {
@@ -121,7 +121,7 @@ if (!class_exists('WPFront_User_Role_Editor_Nav_Menu')) {
121
  <label><input class="user-restriction-type" type="radio" name="<?php echo 'user-restriction-type-' . $item_id; ?>" value="<?php echo self::$GUEST_USERS; ?>" <?php echo $data->type === self::$GUEST_USERS ? 'checked' : ''; ?> /><?php echo $this->__('Guest Users'); ?></label>
122
  <label><input class="user-restriction-type" type="radio" name="<?php echo 'user-restriction-type-' . $item_id; ?>" value="<?php echo self::$ROLE_USERS; ?>" <?php echo $data->type === self::$ROLE_USERS ? 'checked' : ''; ?> /><?php echo $this->__('Users by Role'); ?></label>
123
  <span class="roles-container <?php echo $data->type === self::$ROLE_USERS ? '' : 'hidden'; ?>">
124
- <?php echo apply_filters('wp_nav_menu_item_custom_fields_roles_list', '', $item_id, $item, $depth, $args); ?>
125
  </span>
126
  </span>
127
  </p>
45
 
46
  public function __construct($main) {
47
  parent::__construct($main);
48
+
49
+ if ($this->main->disable_navigation_menu_permissions())
50
  return;
51
+
52
  add_action('init', array($this, 'wp_init'), 9999);
53
  add_action('wp_nav_menu_item_custom_fields', array($this, 'menu_item_custom_fields'), 10, 4);
54
  add_action('wp_nav_menu_item_title_user_restriction_type', array($this, 'menu_item_title_user_restriction_type'), 10, 4);
55
+ add_action('wp_nav_menu_item_custom_fields_roles_list', array($this, 'menu_item_custom_fields_roles_list'), 10, 4);
56
 
57
  add_action('wp_update_nav_menu_item', array($this, 'update_nav_menu_item'), 10, 3);
58
  add_filter('wp_get_nav_menu_items', array($this, 'override_nav_menu_items'), 10, 3);
64
  public static function nav_menu_help_url() {
65
  return 'https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/';
66
  }
67
+
68
  public function wp_init() {
69
  add_filter('wp_edit_nav_menu_walker', array($this, 'override_edit_nav_menu_walker'), 9999);
70
  }
71
 
72
  public static function override_edit_nav_menu_walker($current = 'Walker_Nav_Menu_Edit') {
73
+ if ($current !== 'Walker_Nav_Menu_Edit')
74
  return $current;
75
+
76
  return 'WPFront_User_Role_Editor_Nav_Menu_Walker';
77
  }
78
 
101
  <?php
102
  }
103
 
104
+ public function menu_item_custom_fields_roles_list($item_id, $item, $depth, $args) {
105
+ printf($this->__('%s to limit based on roles.'), '<a target="_blank" href="https://wpfront.com/navmenu">' . $this->__('Upgrade to Pro') . '</a>');
106
  }
107
 
108
  public function menu_item_custom_fields($item_id, $item, $depth, $args) {
121
  <label><input class="user-restriction-type" type="radio" name="<?php echo 'user-restriction-type-' . $item_id; ?>" value="<?php echo self::$GUEST_USERS; ?>" <?php echo $data->type === self::$GUEST_USERS ? 'checked' : ''; ?> /><?php echo $this->__('Guest Users'); ?></label>
122
  <label><input class="user-restriction-type" type="radio" name="<?php echo 'user-restriction-type-' . $item_id; ?>" value="<?php echo self::$ROLE_USERS; ?>" <?php echo $data->type === self::$ROLE_USERS ? 'checked' : ''; ?> /><?php echo $this->__('Users by Role'); ?></label>
123
  <span class="roles-container <?php echo $data->type === self::$ROLE_USERS ? '' : 'hidden'; ?>">
124
+ <?php do_action('wp_nav_menu_item_custom_fields_roles_list', $item_id, $item, $depth, $args); ?>
125
  </span>
126
  </span>
127
  </p>
classes/class-wpfront-user-role-editor-options.php CHANGED
@@ -44,6 +44,8 @@ if (!class_exists('WPFront_User_Role_Editor_Options')) {
44
  parent::__construct($main);
45
 
46
  $this->ajax_register('wp_ajax_wpfront_user_role_editor_update_options', array($this, 'update_options_callback'));
 
 
47
  }
48
 
49
  public function settings() {
@@ -71,7 +73,7 @@ if (!class_exists('WPFront_User_Role_Editor_Options')) {
71
  $this->update_option_boolean('remove_nonstandard_capabilities_restore');
72
  $this->update_option_boolean('override_edit_permissions');
73
  $this->update_option_boolean('disable_navigation_menu_permissions');
74
-
75
  if ($this->multisite && wp_is_large_network()) {
76
  $this->update_option_boolean('enable_large_network_functionalities');
77
  }
@@ -105,6 +107,22 @@ if (!class_exists('WPFront_User_Role_Editor_Options')) {
105
  die();
106
  }
107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  private function update_option_boolean($key, $clone = FALSE) {
109
  if (!empty($_POST[$key])) {
110
  $value = $_POST[$key];
@@ -184,7 +202,7 @@ if (!class_exists('WPFront_User_Role_Editor_Options')) {
184
 
185
  return $this->get_boolean_option('override_edit_permissions');
186
  }
187
-
188
  public function disable_navigation_menu_permissions() {
189
  if ($this->multisite)
190
  return $this->ms_disable_navigation_menu_permissions();
@@ -238,7 +256,7 @@ if (!class_exists('WPFront_User_Role_Editor_Options')) {
238
  public function ms_override_edit_permissions() {
239
  return $this->get_boolean_option('override_edit_permissions', TRUE);
240
  }
241
-
242
  public function ms_disable_navigation_menu_permissions() {
243
  return $this->get_boolean_option('disable_navigation_menu_permissions', TRUE);
244
  }
44
  parent::__construct($main);
45
 
46
  $this->ajax_register('wp_ajax_wpfront_user_role_editor_update_options', array($this, 'update_options_callback'));
47
+
48
+ add_filter('wpfront_ure_custom_post_type_enable_custom_permission', array($this, 'custom_post_type_enable_custom_permission'), 10, 1);
49
  }
50
 
51
  public function settings() {
73
  $this->update_option_boolean('remove_nonstandard_capabilities_restore');
74
  $this->update_option_boolean('override_edit_permissions');
75
  $this->update_option_boolean('disable_navigation_menu_permissions');
76
+
77
  if ($this->multisite && wp_is_large_network()) {
78
  $this->update_option_boolean('enable_large_network_functionalities');
79
  }
107
  die();
108
  }
109
 
110
+ public function custom_post_type_enable_custom_permission($post_type) {
111
+ $post_types = apply_filters('wpfront_ure_custom_post_type_permission_settings_list', array());
112
+
113
+ if (empty($post_types[$post_type]))
114
+ return FALSE;
115
+
116
+ $post_type_values = $this->customize_permission_custom_post_types();
117
+ if (!in_array($post_type, $post_type_values))
118
+ $post_type_values[] = $post_type;
119
+
120
+ do_action('wpfront_ure_update_customize_permission_custom_post_types', $post_type_values, $this->customize_permission_custom_post_types());
121
+ $this->update_option('customize_permission_custom_post_types', implode(',', $post_type_values));
122
+
123
+ return TRUE;
124
+ }
125
+
126
  private function update_option_boolean($key, $clone = FALSE) {
127
  if (!empty($_POST[$key])) {
128
  $value = $_POST[$key];
202
 
203
  return $this->get_boolean_option('override_edit_permissions');
204
  }
205
+
206
  public function disable_navigation_menu_permissions() {
207
  if ($this->multisite)
208
  return $this->ms_disable_navigation_menu_permissions();
256
  public function ms_override_edit_permissions() {
257
  return $this->get_boolean_option('override_edit_permissions', TRUE);
258
  }
259
+
260
  public function ms_disable_navigation_menu_permissions() {
261
  return $this->get_boolean_option('disable_navigation_menu_permissions', TRUE);
262
  }
classes/class-wpfront-user-role-editor-widget-permissions.php ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ WPFront User Role Editor Plugin
4
+ Copyright (C) 2014, WPFront.com
5
+ Website: wpfront.com
6
+ Contact: syam@wpfront.com
7
+
8
+ WPFront User Role Editor Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ if (!defined('ABSPATH')) {
25
+ exit();
26
+ }
27
+
28
+ if (!class_exists('WPFront_User_Role_Editor_Widget_Permissions')) {
29
+
30
+ /**
31
+ * Widget Permissions Controller
32
+ *
33
+ * @author Syam Mohan <syam@wpfront.com>
34
+ * @copyright 2015 WPFront.com
35
+ */
36
+ class WPFront_User_Role_Editor_Widget_Permissions extends WPFront_User_Role_Editor_Controller_Base {
37
+
38
+ protected static $ALL_USERS = 1;
39
+ protected static $LOGGEDIN_USERS = 2;
40
+ protected static $GUEST_USERS = 3;
41
+ protected static $ROLE_USERS = 4;
42
+ protected static $META_DATA_KEY = 'wpfront-user-role-editor-widget-permissions-data';
43
+
44
+ public function __construct($main) {
45
+ parent::__construct($main);
46
+
47
+ add_action('in_widget_form', array($this, 'in_widget_form'), 10, 3);
48
+ add_filter('widget_update_callback', array($this, 'widget_update_callback'), 10, 4);
49
+ add_filter('widget_display_callback', array($this, 'widget_display_callback'), 10, 3);
50
+
51
+ add_action('wp_widget_permissions_custom_fields_roles_list', array($this, 'widget_permissions_custom_fields_roles_list'), 10, 3);
52
+
53
+ add_action('admin_print_scripts-widgets.php', array($this, 'enqueue_widget_scripts'));
54
+ add_action('admin_print_styles-widgets.php', array($this, 'enqueue_widget_styles'));
55
+ }
56
+
57
+ protected function get_meta_data($instance) {
58
+ if (empty($instance) || empty($instance[self::$META_DATA_KEY])) {
59
+ $data = (OBJECT) array('type' => self::$ALL_USERS);
60
+ } else {
61
+ $data = $instance[self::$META_DATA_KEY];
62
+ }
63
+
64
+ $data->type = intval($data->type);
65
+
66
+ switch ($data->type) {
67
+ case self::$ALL_USERS:
68
+ case self::$LOGGEDIN_USERS:
69
+ case self::$GUEST_USERS:
70
+ case self::$ROLE_USERS:
71
+ break;
72
+
73
+ default:
74
+ $data->type = self::$ALL_USERS;
75
+ break;
76
+ }
77
+
78
+ return $data;
79
+ }
80
+
81
+ public function in_widget_form($widget, $return, $instance) {
82
+ if (!current_user_can('edit_widget_permissions'))
83
+ return;
84
+
85
+ $data = $this->get_meta_data($instance);
86
+ ?>
87
+ <p>
88
+ <label><?php echo $this->__('User Restrictions'); ?></label>
89
+ <span class="user-restriction-container">
90
+ <label><input class="user-restriction-type" type="radio" name="<?php echo $widget->get_field_name('user-restriction-type'); ?>" value="<?php echo self::$ALL_USERS; ?>" <?php echo $data->type === self::$ALL_USERS ? 'checked' : ''; ?> /><?php echo $this->__('All Users'); ?></label>
91
+ <label><input class="user-restriction-type" type="radio" name="<?php echo $widget->get_field_name('user-restriction-type'); ?>" value="<?php echo self::$LOGGEDIN_USERS; ?>" <?php echo $data->type === self::$LOGGEDIN_USERS ? 'checked' : ''; ?> /><?php echo $this->__('Logged in Users'); ?></label>
92
+ <label><input class="user-restriction-type" type="radio" name="<?php echo $widget->get_field_name('user-restriction-type'); ?>" value="<?php echo self::$GUEST_USERS; ?>" <?php echo $data->type === self::$GUEST_USERS ? 'checked' : ''; ?> /><?php echo $this->__('Guest Users'); ?></label>
93
+ <label><input class="user-restriction-type" type="radio" name="<?php echo $widget->get_field_name('user-restriction-type'); ?>" value="<?php echo self::$ROLE_USERS; ?>" <?php echo $data->type === self::$ROLE_USERS ? 'checked' : ''; ?> /><?php echo $this->__('Users by Role'); ?></label>
94
+ <span class="roles-container <?php echo $data->type === self::$ROLE_USERS ? '' : 'hidden'; ?>">
95
+ <?php do_action('wp_widget_permissions_custom_fields_roles_list', $widget, $return, $instance); ?>
96
+ </span>
97
+ </span>
98
+ </p>
99
+ <?php
100
+ }
101
+
102
+ public function widget_update_callback($instance, $new_instance, $old_instance, $widget) {
103
+ if (!current_user_can('edit_widget_permissions')) {
104
+ $instance[self::$META_DATA_KEY] = $old_instance[self::$META_DATA_KEY];
105
+ return $instance;
106
+ }
107
+
108
+ if (empty($new_instance['user-restriction-type'])) {
109
+ $instance[self::$META_DATA_KEY] = (OBJECT) array('type' => self::$ALL_USERS);
110
+ } else {
111
+ $instance[self::$META_DATA_KEY] = (OBJECT) array('type' => intval($new_instance['user-restriction-type']));
112
+ }
113
+ return $instance;
114
+ }
115
+
116
+ public function widget_display_callback($instance, $widget, $args) {
117
+ $data = $this->get_meta_data($instance);
118
+
119
+ switch ($data->type) {
120
+ case self::$LOGGEDIN_USERS:
121
+ if (is_user_logged_in())
122
+ return $instance;
123
+
124
+ return FALSE;
125
+
126
+ case self::$GUEST_USERS:
127
+ if (!is_user_logged_in())
128
+ return $instance;
129
+
130
+ return FALSE;
131
+
132
+ default:
133
+ break;
134
+ }
135
+
136
+ return $instance;
137
+ }
138
+
139
+ public function widget_permissions_custom_fields_roles_list($widget, $return, $instance) {
140
+ printf($this->__('%s to limit based on roles.'), '<a target="_blank" href="https://wpfront.com/widgets">' . $this->__('Upgrade to Pro') . '</a>');
141
+ }
142
+
143
+ public function enqueue_widget_scripts() {
144
+ wp_enqueue_script('jquery');
145
+ wp_enqueue_script('wpfront-user-role-editor-widget-permissions-js', $this->main->pluginURL() . 'js/widget-permissions.js', array('jquery'), WPFront_User_Role_Editor::VERSION);
146
+ }
147
+
148
+ public function enqueue_widget_styles() {
149
+ wp_enqueue_style('wpfront-user-role-editor-widget-permissions-css', $this->main->pluginURL() . 'css/widget-permissions.css', array(), WPFront_User_Role_Editor::VERSION);
150
+ }
151
+
152
+ public static function uninstall() {
153
+ global $wp_registered_widgets;
154
+
155
+ foreach ($wp_registered_widgets as $widget) {
156
+ $index = -1;
157
+ if (isset($widget['params'][0]['number']))
158
+ $index = $widget['params'][0]['number'];
159
+
160
+ if ($index > -1) {
161
+ $option_name = $widget['callback'][0]->option_name;
162
+ $option = get_option($option_name);
163
+ if (isset($option[$index][self::$META_DATA_KEY])) {
164
+ unset($option[$index][self::$META_DATA_KEY]);
165
+ update_option($option_name, $option);
166
+ }
167
+ }
168
+ }
169
+ }
170
+
171
+ }
172
+
173
+ }
classes/class-wpfront-user-role-editor.php CHANGED
@@ -38,7 +38,7 @@ if (!class_exists('WPFront_User_Role_Editor')) {
38
  class WPFront_User_Role_Editor extends WPFront_Base_URE {
39
 
40
  //Constants
41
- const VERSION = '2.11.3';
42
  const OPTIONS_GROUP_NAME = 'wpfront-user-role-editor-options-group';
43
  const OPTION_NAME = 'wpfront-user-role-editor-options';
44
  const PLUGIN_SLUG = 'wpfront-user-role-editor';
@@ -57,8 +57,10 @@ if (!class_exists('WPFront_User_Role_Editor')) {
57
  'delete_content_shortcodes',
58
  'edit_login_redirects',
59
  'delete_login_redirects',
60
- 'bulk_edit_roles'
61
- );
 
 
62
  public static $DEFAULT_ROLES = array(self::ADMINISTRATOR_ROLE_KEY, self::EDITOR_ROLE_KEY, self::AUTHOR_ROLE_KEY, self::CONTRIBUTOR_ROLE_KEY, self::SUBSCRIBER_ROLE_KEY);
63
  public static $STANDARD_CAPABILITIES = array(
64
  'Dashboard' => array(
@@ -171,6 +173,7 @@ if (!class_exists('WPFront_User_Role_Editor')) {
171
  protected $objLoginRedirect = NULL;
172
  protected $objAttachmentPermissions = NULL;
173
  protected $objUserPermissions = NULL;
 
174
 
175
  function __construct() {
176
  parent::__construct(__FILE__, self::PLUGIN_SLUG);
@@ -194,6 +197,8 @@ if (!class_exists('WPFront_User_Role_Editor')) {
194
  $this->objAttachmentPermissions = new WPFront_User_Role_Editor_Attachment_Permissions($this);
195
  if ($this->objUserPermissions === NULL)
196
  $this->objUserPermissions = new WPFront_User_Role_Editor_User_Permissions($this);
 
 
197
  }
198
  }
199
 
@@ -701,6 +706,7 @@ require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-nav-men
701
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-login-redirect.php");
702
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-attachment-permissions.php");
703
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-user-permissions.php");
 
704
  require_once(plugin_dir_path(__FILE__) . "integration/plugins/class-wpfront-user-role-editor-plugin-integration.php");
705
 
706
 
38
  class WPFront_User_Role_Editor extends WPFront_Base_URE {
39
 
40
  //Constants
41
+ const VERSION = '2.12';
42
  const OPTIONS_GROUP_NAME = 'wpfront-user-role-editor-options-group';
43
  const OPTION_NAME = 'wpfront-user-role-editor-options';
44
  const PLUGIN_SLUG = 'wpfront-user-role-editor';
57
  'delete_content_shortcodes',
58
  'edit_login_redirects',
59
  'delete_login_redirects',
60
+ 'bulk_edit_roles',
61
+ 'edit_widget_permissions'
62
+ );
63
+
64
  public static $DEFAULT_ROLES = array(self::ADMINISTRATOR_ROLE_KEY, self::EDITOR_ROLE_KEY, self::AUTHOR_ROLE_KEY, self::CONTRIBUTOR_ROLE_KEY, self::SUBSCRIBER_ROLE_KEY);
65
  public static $STANDARD_CAPABILITIES = array(
66
  'Dashboard' => array(
173
  protected $objLoginRedirect = NULL;
174
  protected $objAttachmentPermissions = NULL;
175
  protected $objUserPermissions = NULL;
176
+ protected $objWidgetPermissions = NULL;
177
 
178
  function __construct() {
179
  parent::__construct(__FILE__, self::PLUGIN_SLUG);
197
  $this->objAttachmentPermissions = new WPFront_User_Role_Editor_Attachment_Permissions($this);
198
  if ($this->objUserPermissions === NULL)
199
  $this->objUserPermissions = new WPFront_User_Role_Editor_User_Permissions($this);
200
+ if ($this->objWidgetPermissions === NULL)
201
+ $this->objWidgetPermissions = new WPFront_User_Role_Editor_Widget_Permissions($this);
202
  }
203
  }
204
 
706
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-login-redirect.php");
707
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-attachment-permissions.php");
708
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-user-permissions.php");
709
+ require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-widget-permissions.php");
710
  require_once(plugin_dir_path(__FILE__) . "integration/plugins/class-wpfront-user-role-editor-plugin-integration.php");
711
 
712
 
css/widget-permissions.css ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ p span.user-restriction-container {
2
+ display: inline-block;
3
+ }
4
+
5
+ p span.user-restriction-container label {
6
+ font-style: normal;
7
+ float: left;
8
+ width: 50%;
9
+ }
10
+
11
+ p span.user-restriction-container span.roles-container {
12
+ display: inline-block;
13
+ width: 100%;
14
+ margin-top: 3px;
15
+ }
16
+
17
+ p span.user-restriction-container span.roles-container.hidden {
18
+ display: none;
19
+ }
js/widget-permissions.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function ($) {
2
+ var ROLES_USERS = 4;
3
+
4
+ $(function () {
5
+ $('.widgets-holder-wrap').on('change', 'input.user-restriction-type', function () {
6
+ var $this = $(this);
7
+ if ($this.val() == ROLES_USERS) {
8
+ $this.closest('span.user-restriction-container').find('span.roles-container').removeClass('hidden');
9
+ } else {
10
+ $this.closest('span.user-restriction-container').find('span.roles-container').addClass('hidden');
11
+ }
12
+ });
13
+ });
14
+ })(jQuery);
languages/wpfront-user-role-editor.mo CHANGED
Binary file
languages/wpfront-user-role-editor.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WPFront Notification Bar\n"
4
- "POT-Creation-Date: 2015-06-26 19:32-0700\n"
5
- "PO-Revision-Date: 2015-06-26 19:32-0700\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WPFront <contact@wpfront.com>\n"
8
  "Language: en\n"
@@ -34,7 +34,7 @@ msgid "Rating"
34
  msgstr "Rating"
35
 
36
  #: ../classes/base/class-wpfront-base-menu.php:59
37
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:183
38
  msgid "Description"
39
  msgstr "Description"
40
 
@@ -63,7 +63,7 @@ msgid "More information about %s"
63
  msgstr "More information about %s"
64
 
65
  #: ../classes/base/class-wpfront-base-menu.php:158
66
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:266
67
  msgid "Details"
68
  msgstr "Details"
69
 
@@ -94,21 +94,21 @@ msgid "Installed"
94
  msgstr "Installed"
95
 
96
  #: ../classes/base/class-wpfront-base-menu.php:179
97
- #: ../classes/base/class-wpfront-base.php:124
98
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:108
99
- #: ../classes/class-wpfront-user-role-editor-options.php:262
100
- #: ../classes/class-wpfront-user-role-editor.php:235
101
  msgid "Settings"
102
  msgstr "Settings"
103
 
104
  #: ../classes/base/class-wpfront-base-menu.php:181
105
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:114
106
  #: ../templates/go-pro.php:71
107
  msgid "Activate"
108
  msgstr "Activate"
109
 
110
  #: ../classes/base/class-wpfront-base-menu.php:203
111
- #: ../classes/class-wpfront-user-role-editor.php:368
112
  msgid "Feedback"
113
  msgstr "Feedback"
114
 
@@ -120,12 +120,12 @@ msgstr "WPFront"
120
  msgid "All Plugins"
121
  msgstr "All Plugins"
122
 
123
- #: ../classes/base/class-wpfront-base.php:153
124
- #: ../classes/class-wpfront-user-role-editor.php:317
125
  msgid "You do not have sufficient permissions to access this page."
126
  msgstr "You do not have sufficient permissions to access this page."
127
 
128
- #: ../classes/base/class-wpfront-base.php:173
129
  msgid ""
130
  "If you have a caching plugin, clear the cache for the new settings to take "
131
  "effect."
@@ -133,7 +133,7 @@ msgstr ""
133
  "If you have a caching plugin, clear the cache for the new settings to take "
134
  "effect."
135
 
136
- #: ../classes/base/class-wpfront-base.php:220
137
  #: ../templates/personal-pro/menu-editor.php:232
138
  msgid "Save Changes"
139
  msgstr "Save Changes"
@@ -142,8 +142,8 @@ msgstr "Save Changes"
142
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:88
143
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:80
144
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:152
145
- #: ../classes/class-wpfront-user-role-editor.php:230
146
- #: ../classes/class-wpfront-user-role-editor.php:243
147
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:87
148
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:431
149
  #: ../templates/add-remove-capability.php:85 ../templates/list-roles.php:43
@@ -152,20 +152,20 @@ msgstr "Roles"
152
 
153
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:88
154
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:154
155
- #: ../classes/class-wpfront-user-role-editor.php:230
156
  #: ../templates/add-remove-capability.php:90
157
  msgid "All Roles"
158
  msgstr "All Roles"
159
 
160
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:93
161
- #: ../classes/class-wpfront-user-role-editor.php:231
162
  #: ../templates/add-edit-role.php:41 ../templates/add-edit-role.php:140
163
  msgid "Add New Role"
164
  msgstr "Add New Role"
165
 
166
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:93
167
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:83
168
- #: ../classes/class-wpfront-user-role-editor.php:231
169
  #: ../templates/add-edit-role.php:43 ../templates/list-roles.php:46
170
  #: ../templates/login-redirect.php:41
171
  #: ../templates/personal-pro/content-shortcodes.php:10
@@ -173,13 +173,13 @@ msgid "Add New"
173
  msgstr "Add New"
174
 
175
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:98
176
- #: ../classes/class-wpfront-user-role-editor.php:232
177
  #: ../templates/restore-role.php:40
178
  msgid "Restore Role"
179
  msgstr "Restore Role"
180
 
181
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:98
182
- #: ../classes/class-wpfront-user-role-editor.php:232
183
  #: ../templates/restore-role.php:52
184
  msgid "Restore"
185
  msgstr "Restore"
@@ -195,7 +195,7 @@ msgid "Sync"
195
  msgstr "Sync"
196
 
197
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:114
198
- #: ../classes/class-wpfront-user-role-editor.php:216
199
  msgid "Go Pro"
200
  msgstr "Go Pro"
201
 
@@ -224,9 +224,11 @@ msgstr ""
224
  #: ../classes/class-wpfront-user-role-editor-login-redirect.php:407
225
  #: ../classes/class-wpfront-user-role-editor-login-redirect.php:441
226
  #: ../classes/class-wpfront-user-role-editor-login-redirect.php:472
227
- #: ../classes/class-wpfront-user-role-editor-options.php:255
228
- #: ../classes/class-wpfront-user-role-editor-options.php:302
229
  #: ../classes/class-wpfront-user-role-editor-restore.php:168
 
 
230
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:362
231
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:393
232
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:404
@@ -539,8 +541,8 @@ msgstr "Documentation on Multisite Roles"
539
  #: ../classes/class-wpfront-user-role-editor-go-pro.php:213
540
  #: ../classes/class-wpfront-user-role-editor-go-pro.php:215
541
  #: ../classes/class-wpfront-user-role-editor-go-pro.php:239
542
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:264
543
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:273
544
  #: ../classes/class-wpfront-user-role-editor-restore.php:87
545
  #: ../templates/add-edit-role.php:51 ../templates/add-edit-role.php:59
546
  #: ../templates/business-pro/sync-roles.php:21
@@ -766,6 +768,8 @@ msgid "%s to customize capabilites."
766
  msgstr "%s to customize capabilites."
767
 
768
  #: ../classes/class-wpfront-user-role-editor-add-edit.php:379
 
 
769
  msgid "Upgrade to Pro"
770
  msgstr "Upgrade to Pro"
771
 
@@ -961,23 +965,23 @@ msgstr "Invalid license key"
961
  msgid "Unable to deactivate, expired license?"
962
  msgstr "Unable to deactivate, expired license?"
963
 
964
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:264
965
  msgid "Unable to contact wpfront.com"
966
  msgstr "Unable to contact wpfront.com"
967
 
968
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:273
969
  msgid "Unable to parse response"
970
  msgstr "Unable to parse response"
971
 
972
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:340
973
  msgid "Site"
974
  msgstr "Site"
975
 
976
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:341
977
  msgid "Product"
978
  msgstr "Product"
979
 
980
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:345
981
  msgid ""
982
  "Your WPFront User Role Editor Pro license was activated on the following "
983
  "site."
@@ -985,19 +989,19 @@ msgstr ""
985
  "Your WPFront User Role Editor Pro license was activated on the following "
986
  "site."
987
 
988
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:346
989
  msgid "WPFront User Role Editor Pro License Activated"
990
  msgstr "WPFront User Role Editor Pro License Activated"
991
 
992
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:348
993
  msgid "Activated By"
994
  msgstr "Activated By"
995
 
996
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:349
997
  msgid "Activated On"
998
  msgstr "Activated On"
999
 
1000
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:353
1001
  msgid ""
1002
  "Your WPFront User Role Editor Pro license was deactivated on the following "
1003
  "site."
@@ -1005,21 +1009,21 @@ msgstr ""
1005
  "Your WPFront User Role Editor Pro license was deactivated on the following "
1006
  "site."
1007
 
1008
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:354
1009
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:366
1010
  msgid "WPFront User Role Editor Pro License Deactivated"
1011
  msgstr "WPFront User Role Editor Pro License Deactivated"
1012
 
1013
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:356
1014
  msgid "Deactivated By"
1015
  msgstr "Deactivated By"
1016
 
1017
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:357
1018
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:367
1019
  msgid "Deactivated On"
1020
  msgstr "Deactivated On"
1021
 
1022
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:361
1023
  msgid ""
1024
  "Your WPFront User Role Editor Pro license is invalid on the following site. "
1025
  "Please activate a valid license immediately for the plugin to continue "
@@ -1029,11 +1033,11 @@ msgstr ""
1029
  "Please activate a valid license immediately for the plugin to continue "
1030
  "working."
1031
 
1032
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:362
1033
  msgid "WPFront User Role Editor Pro Invalid License"
1034
  msgstr "WPFront User Role Editor Pro Invalid License"
1035
 
1036
- #: ../classes/class-wpfront-user-role-editor-go-pro.php:365
1037
  msgid ""
1038
  "Your invalid WPFront User Role Editor Pro license was deactivated on the "
1039
  "following site. Please activate a valid license immediately for the plugin "
@@ -1206,7 +1210,7 @@ msgid "No login redirects found."
1206
  msgstr "No login redirects found."
1207
 
1208
  #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:84
1209
- #: ../classes/class-wpfront-user-role-editor.php:231
1210
  #: ../templates/delete-role.php:49 ../templates/login-redirect.php:99
1211
  msgid "Role"
1212
  msgstr "Role"
@@ -1217,7 +1221,7 @@ msgid "Priority"
1217
  msgstr "Priority"
1218
 
1219
  #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:86
1220
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:146
1221
  #: ../templates/login-redirect.php:133
1222
  msgid "URL"
1223
  msgstr "URL"
@@ -1320,45 +1324,45 @@ msgstr "Click \"Confirm Delete\" to delete displayed configurations."
1320
  msgid "Documentation on Login Redirect"
1321
  msgstr "Documentation on Login Redirect"
1322
 
1323
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:88
1324
  #, php-format
1325
  msgid "%s (Invalid)"
1326
  msgstr "%s (Invalid)"
1327
 
1328
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:92
1329
  #, php-format
1330
  msgid "%s (Pending)"
1331
  msgstr "%s (Pending)"
1332
 
1333
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:105
1334
  msgid "sub item"
1335
  msgstr "sub item"
1336
 
1337
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:137
1338
  msgid "Edit Menu Item"
1339
  msgstr "Edit Menu Item"
1340
 
1341
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:153
1342
  msgid "Navigation Label"
1343
  msgstr "Navigation Label"
1344
 
1345
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:159
1346
  msgid "Title Attribute"
1347
  msgstr "Title Attribute"
1348
 
1349
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:166
1350
  msgid "Open link in a new window/tab"
1351
  msgstr "Open link in a new window/tab"
1352
 
1353
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:171
1354
  msgid "CSS Classes (optional)"
1355
  msgstr "CSS Classes (optional)"
1356
 
1357
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:177
1358
  msgid "Link Relationship (XFN)"
1359
  msgstr "Link Relationship (XFN)"
1360
 
1361
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:185
1362
  msgid ""
1363
  "The description will be displayed in the menu if the current theme supports "
1364
  "it."
@@ -1366,38 +1370,39 @@ msgstr ""
1366
  "The description will be displayed in the menu if the current theme supports "
1367
  "it."
1368
 
1369
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:195
1370
  msgid "Move"
1371
  msgstr "Move"
1372
 
1373
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:196
1374
  msgid "Up one"
1375
  msgstr "Up one"
1376
 
1377
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:197
1378
  msgid "Down one"
1379
  msgstr "Down one"
1380
 
1381
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:200
1382
  msgid "To the top"
1383
  msgstr "To the top"
1384
 
1385
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:207
1386
  #, php-format
1387
  msgid "Original: %s"
1388
  msgstr "Original: %s"
1389
 
1390
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:220
1391
  msgid "Remove"
1392
  msgstr "Remove"
1393
 
1394
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:221
1395
  #: ../templates/restore-role.php:54
1396
  msgid "Cancel"
1397
  msgstr "Cancel"
1398
 
1399
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:84
1400
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:119
 
1401
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:247
1402
  #: ../templates/personal-pro/content-shortcodes-add-edit.php:42
1403
  msgid "All Users"
@@ -1405,11 +1410,13 @@ msgstr "All Users"
1405
 
1406
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:88
1407
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:120
 
1408
  msgid "Logged in Users"
1409
  msgstr "Logged in Users"
1410
 
1411
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:91
1412
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:121
 
1413
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:255
1414
  #: ../templates/personal-pro/content-shortcodes-add-edit.php:46
1415
  msgid "Guest Users"
@@ -1417,19 +1424,22 @@ msgstr "Guest Users"
1417
 
1418
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:94
1419
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:122
 
1420
  msgid "Users by Role"
1421
  msgstr "Users by Role"
1422
 
1423
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:105
 
1424
  #, php-format
1425
  msgid "%s to limit based on roles."
1426
  msgstr "%s to limit based on roles."
1427
 
1428
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:117
 
1429
  msgid "User Restrictions"
1430
  msgstr "User Restrictions"
1431
 
1432
- #: ../classes/class-wpfront-user-role-editor-options.php:257
1433
  msgid ""
1434
  "These settings are applicable for the network admin dashboard. Also these "
1435
  "settings will propagate to the individual sites unless its overridden within "
@@ -1439,27 +1449,27 @@ msgstr ""
1439
  "settings will propagate to the individual sites unless its overridden within "
1440
  "that site’s settings."
1441
 
1442
- #: ../classes/class-wpfront-user-role-editor-options.php:264
1443
  #: ../templates/options-template.php:61
1444
  msgid "Enable Large Network Functionalities"
1445
  msgstr "Enable Large Network Functionalities"
1446
 
1447
- #: ../classes/class-wpfront-user-role-editor-options.php:266
1448
  msgid "This setting is only visible when you have a large network."
1449
  msgstr "This setting is only visible when you have a large network."
1450
 
1451
- #: ../classes/class-wpfront-user-role-editor-options.php:268
1452
  msgid "More details"
1453
  msgstr "More details"
1454
 
1455
- #: ../classes/class-wpfront-user-role-editor-options.php:272
1456
- #: ../classes/class-wpfront-user-role-editor-options.php:304
1457
  #: ../templates/options-template.php:70
1458
  msgid "Display Deprecated Capabilities"
1459
  msgstr "Display Deprecated Capabilities"
1460
 
1461
- #: ../classes/class-wpfront-user-role-editor-options.php:274
1462
- #: ../classes/class-wpfront-user-role-editor-options.php:306
1463
  msgid ""
1464
  "If enabled, deprecated capabilities will be displayed within the add/edit "
1465
  "screens."
@@ -1467,14 +1477,14 @@ msgstr ""
1467
  "If enabled, deprecated capabilities will be displayed within the add/edit "
1468
  "screens."
1469
 
1470
- #: ../classes/class-wpfront-user-role-editor-options.php:277
1471
- #: ../classes/class-wpfront-user-role-editor-options.php:309
1472
  #: ../templates/options-template.php:78
1473
  msgid "Remove Non-Standard Capabilities on Restore"
1474
  msgstr "Remove Non-Standard Capabilities on Restore"
1475
 
1476
- #: ../classes/class-wpfront-user-role-editor-options.php:279
1477
- #: ../classes/class-wpfront-user-role-editor-options.php:311
1478
  msgid ""
1479
  "If enabled, while restoring WordPress built-in capabilities non-standard "
1480
  "capabilities will be removed."
@@ -1482,36 +1492,36 @@ msgstr ""
1482
  "If enabled, while restoring WordPress built-in capabilities non-standard "
1483
  "capabilities will be removed."
1484
 
1485
- #: ../classes/class-wpfront-user-role-editor-options.php:282
1486
- #: ../classes/class-wpfront-user-role-editor-options.php:314
1487
  #: ../templates/options-template.php:86
1488
  msgid "Override Edit Permissions"
1489
  msgstr "Override Edit Permissions"
1490
 
1491
- #: ../classes/class-wpfront-user-role-editor-options.php:284
1492
- #: ../classes/class-wpfront-user-role-editor-options.php:316
1493
  msgid "If enabled, ignores the check to the function get_editable_roles."
1494
  msgstr "If enabled, ignores the check to the function get_editable_roles."
1495
 
1496
- #: ../classes/class-wpfront-user-role-editor-options.php:287
1497
- #: ../classes/class-wpfront-user-role-editor-options.php:319
1498
  #: ../templates/options-template.php:94
1499
  msgid "Disable Navigation Menu Permissions"
1500
  msgstr "Disable Navigation Menu Permissions"
1501
 
1502
- #: ../classes/class-wpfront-user-role-editor-options.php:289
1503
- #: ../classes/class-wpfront-user-role-editor-options.php:321
1504
  msgid "If enabled, disables navigation menu permissions functionality."
1505
  msgstr "If enabled, disables navigation menu permissions functionality."
1506
 
1507
- #: ../classes/class-wpfront-user-role-editor-options.php:292
1508
- #: ../classes/class-wpfront-user-role-editor-options.php:324
1509
  #: ../templates/options-template.php:131
1510
  msgid "Remove Data on Uninstall"
1511
  msgstr "Remove Data on Uninstall"
1512
 
1513
- #: ../classes/class-wpfront-user-role-editor-options.php:294
1514
- #: ../classes/class-wpfront-user-role-editor-options.php:326
1515
  msgid ""
1516
  "If enabled, removes all data related to this plugin from database (except "
1517
  "roles data) including license information if any. This will not deactivate "
@@ -1521,11 +1531,11 @@ msgstr ""
1521
  "roles data) including license information if any. This will not deactivate "
1522
  "the license automatically."
1523
 
1524
- #: ../classes/class-wpfront-user-role-editor-options.php:337
1525
  msgid "Documentation on Multisite Settings"
1526
  msgstr "Documentation on Multisite Settings"
1527
 
1528
- #: ../classes/class-wpfront-user-role-editor-options.php:344
1529
  msgid "Documentation on Settings"
1530
  msgstr "Documentation on Settings"
1531
 
@@ -1533,29 +1543,29 @@ msgstr "Documentation on Settings"
1533
  msgid "Documentation on Restore"
1534
  msgstr "Documentation on Restore"
1535
 
1536
- #: ../classes/class-wpfront-user-role-editor.php:233
1537
  #: ../templates/add-remove-capability.php:40
1538
  msgid "Add/Remove Capability"
1539
  msgstr "Add/Remove Capability"
1540
 
1541
- #: ../classes/class-wpfront-user-role-editor.php:233
1542
  msgid "Add/Remove Cap"
1543
  msgstr "Add/Remove Cap"
1544
 
1545
- #: ../classes/class-wpfront-user-role-editor.php:234
1546
  #: ../templates/login-redirect.php:40
1547
  msgid "Login Redirect"
1548
  msgstr "Login Redirect"
1549
 
1550
- #: ../classes/class-wpfront-user-role-editor.php:255
1551
  msgid "Assign Roles | Migrate Users"
1552
  msgstr "Assign Roles | Migrate Users"
1553
 
1554
- #: ../classes/class-wpfront-user-role-editor.php:255
1555
  msgid "Assign / Migrate"
1556
  msgstr "Assign / Migrate"
1557
 
1558
- #: ../classes/class-wpfront-user-role-editor.php:370
1559
  msgid "Buy me a Beer"
1560
  msgstr "Buy me a Beer"
1561
 
@@ -1579,10 +1589,67 @@ msgstr ""
1579
  "\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a href=\"%4$s"
1580
  "\">update now</a>."
1581
 
1582
- #: ../classes/personal-pro/EDD_SL_Plugin_Updater.php:305
1583
  msgid "You do not have permission to install plugin updates"
1584
  msgstr "You do not have permission to install plugin updates"
1585
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1586
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:68
1587
  msgid "No shortcodes found."
1588
  msgstr "No shortcodes found."
@@ -1624,7 +1691,8 @@ msgstr "Shortcode(s) deleted."
1624
 
1625
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:235
1626
  #: ../classes/personal-pro/class-wpfront-user-role-editor-nav-menu-pro.php:23
1627
- #: ../classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:105
 
1628
  msgid "[Guest]"
1629
  msgstr "[Guest]"
1630
 
@@ -1912,46 +1980,52 @@ msgstr ""
1912
  msgid "Documentation on Menu Editor"
1913
  msgstr "Documentation on Menu Editor"
1914
 
1915
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:90
1916
  #: ../templates/personal-pro/menu-editor.php:9
1917
  msgid "Menu Editor"
1918
  msgstr "Menu Editor"
1919
 
1920
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:91
1921
  #: ../templates/personal-pro/content-shortcodes.php:9
1922
  msgid "Content Shortcodes"
1923
  msgstr "Content Shortcodes"
1924
 
1925
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:91
1926
  msgid "Shortcodes"
1927
  msgstr "Shortcodes"
1928
 
1929
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:92
1930
  #: ../templates/personal-pro/export-roles.php:9
1931
  msgid "Export Roles"
1932
  msgstr "Export Roles"
1933
 
1934
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:92
1935
  msgid "Export"
1936
  msgstr "Export"
1937
 
1938
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:93
1939
  #: ../templates/personal-pro/import-roles.php:9
1940
  #: ../templates/personal-pro/import-roles.php:88
1941
  msgid "Import Roles"
1942
  msgstr "Import Roles"
1943
 
1944
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:93
1945
  msgid "Import"
1946
  msgstr "Import"
1947
 
1948
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:113
 
 
 
 
 
1949
  #, php-format
1950
  msgid "%s license not activated."
1951
  msgstr "%s license not activated."
1952
 
1953
- #: ../classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:70
1954
- #: ../classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:316
 
1955
  msgid "Role Permissions"
1956
  msgstr "Role Permissions"
1957
 
@@ -2029,6 +2103,10 @@ msgstr "Search Sites"
2029
  #: ../templates/business-pro/sync-roles.php:44
2030
  #: ../templates/business-pro/sync-roles.php:99
2031
  #: ../templates/business-pro/sync-roles.php:249
 
 
 
 
2032
  msgid "Next Step"
2033
  msgstr "Next Step"
2034
 
@@ -2101,10 +2179,12 @@ msgid "Update new user default role: "
2101
  msgstr "Update new user default role: "
2102
 
2103
  #: ../templates/business-pro/sync-roles.php:348
 
2104
  msgid "SUCCESS"
2105
  msgstr "SUCCESS"
2106
 
2107
  #: ../templates/business-pro/sync-roles.php:351
 
2108
  msgid "FAIL"
2109
  msgstr "FAIL"
2110
 
@@ -2201,6 +2281,7 @@ msgid "Disable Toolbar"
2201
  msgstr "Disable Toolbar"
2202
 
2203
  #: ../templates/login-redirect.php:160
 
2204
  #: ../templates/personal-pro/content-shortcodes-add-edit.php:67
2205
  msgid "Submit"
2206
  msgstr "Submit"
@@ -2234,6 +2315,43 @@ msgstr "Customize Permissions (custom post types)"
2234
  msgid "No customizable post types found."
2235
  msgstr "No customizable post types found."
2236
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2237
  #: ../templates/personal-pro/content-shortcodes-add-edit.php:25
2238
  msgid "unique"
2239
  msgstr "unique"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WPFront Notification Bar\n"
4
+ "POT-Creation-Date: 2015-09-03 21:50-0700\n"
5
+ "PO-Revision-Date: 2015-09-03 21:51-0700\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WPFront <contact@wpfront.com>\n"
8
  "Language: en\n"
34
  msgstr "Rating"
35
 
36
  #: ../classes/base/class-wpfront-base-menu.php:59
37
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:185
38
  msgid "Description"
39
  msgstr "Description"
40
 
63
  msgstr "More information about %s"
64
 
65
  #: ../classes/base/class-wpfront-base-menu.php:158
66
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:267
67
  msgid "Details"
68
  msgstr "Details"
69
 
94
  msgstr "Installed"
95
 
96
  #: ../classes/base/class-wpfront-base-menu.php:179
97
+ #: ../classes/base/class-wpfront-base.php:126
98
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:108
99
+ #: ../classes/class-wpfront-user-role-editor-options.php:280
100
+ #: ../classes/class-wpfront-user-role-editor.php:263
101
  msgid "Settings"
102
  msgstr "Settings"
103
 
104
  #: ../classes/base/class-wpfront-base-menu.php:181
105
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:124
106
  #: ../templates/go-pro.php:71
107
  msgid "Activate"
108
  msgstr "Activate"
109
 
110
  #: ../classes/base/class-wpfront-base-menu.php:203
111
+ #: ../classes/class-wpfront-user-role-editor.php:405
112
  msgid "Feedback"
113
  msgstr "Feedback"
114
 
120
  msgid "All Plugins"
121
  msgstr "All Plugins"
122
 
123
+ #: ../classes/base/class-wpfront-base.php:163
124
+ #: ../classes/class-wpfront-user-role-editor.php:354
125
  msgid "You do not have sufficient permissions to access this page."
126
  msgstr "You do not have sufficient permissions to access this page."
127
 
128
+ #: ../classes/base/class-wpfront-base.php:183
129
  msgid ""
130
  "If you have a caching plugin, clear the cache for the new settings to take "
131
  "effect."
133
  "If you have a caching plugin, clear the cache for the new settings to take "
134
  "effect."
135
 
136
+ #: ../classes/base/class-wpfront-base.php:230
137
  #: ../templates/personal-pro/menu-editor.php:232
138
  msgid "Save Changes"
139
  msgstr "Save Changes"
142
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:88
143
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:80
144
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:152
145
+ #: ../classes/class-wpfront-user-role-editor.php:258
146
+ #: ../classes/class-wpfront-user-role-editor.php:271
147
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:87
148
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:431
149
  #: ../templates/add-remove-capability.php:85 ../templates/list-roles.php:43
152
 
153
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:88
154
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:154
155
+ #: ../classes/class-wpfront-user-role-editor.php:258
156
  #: ../templates/add-remove-capability.php:90
157
  msgid "All Roles"
158
  msgstr "All Roles"
159
 
160
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:93
161
+ #: ../classes/class-wpfront-user-role-editor.php:259
162
  #: ../templates/add-edit-role.php:41 ../templates/add-edit-role.php:140
163
  msgid "Add New Role"
164
  msgstr "Add New Role"
165
 
166
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:93
167
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:83
168
+ #: ../classes/class-wpfront-user-role-editor.php:259
169
  #: ../templates/add-edit-role.php:43 ../templates/list-roles.php:46
170
  #: ../templates/login-redirect.php:41
171
  #: ../templates/personal-pro/content-shortcodes.php:10
173
  msgstr "Add New"
174
 
175
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:98
176
+ #: ../classes/class-wpfront-user-role-editor.php:260
177
  #: ../templates/restore-role.php:40
178
  msgid "Restore Role"
179
  msgstr "Restore Role"
180
 
181
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:98
182
+ #: ../classes/class-wpfront-user-role-editor.php:260
183
  #: ../templates/restore-role.php:52
184
  msgid "Restore"
185
  msgstr "Restore"
195
  msgstr "Sync"
196
 
197
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:114
198
+ #: ../classes/class-wpfront-user-role-editor.php:244
199
  msgid "Go Pro"
200
  msgstr "Go Pro"
201
 
224
  #: ../classes/class-wpfront-user-role-editor-login-redirect.php:407
225
  #: ../classes/class-wpfront-user-role-editor-login-redirect.php:441
226
  #: ../classes/class-wpfront-user-role-editor-login-redirect.php:472
227
+ #: ../classes/class-wpfront-user-role-editor-options.php:273
228
+ #: ../classes/class-wpfront-user-role-editor-options.php:320
229
  #: ../classes/class-wpfront-user-role-editor-restore.php:168
230
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:313
231
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit.php:76
232
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:362
233
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:393
234
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:404
541
  #: ../classes/class-wpfront-user-role-editor-go-pro.php:213
542
  #: ../classes/class-wpfront-user-role-editor-go-pro.php:215
543
  #: ../classes/class-wpfront-user-role-editor-go-pro.php:239
544
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:265
545
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:274
546
  #: ../classes/class-wpfront-user-role-editor-restore.php:87
547
  #: ../templates/add-edit-role.php:51 ../templates/add-edit-role.php:59
548
  #: ../templates/business-pro/sync-roles.php:21
768
  msgstr "%s to customize capabilites."
769
 
770
  #: ../classes/class-wpfront-user-role-editor-add-edit.php:379
771
+ #: ../classes/class-wpfront-user-role-editor-nav-menu.php:105
772
+ #: ../classes/class-wpfront-user-role-editor-widget-permissions.php:140
773
  msgid "Upgrade to Pro"
774
  msgstr "Upgrade to Pro"
775
 
965
  msgid "Unable to deactivate, expired license?"
966
  msgstr "Unable to deactivate, expired license?"
967
 
968
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:265
969
  msgid "Unable to contact wpfront.com"
970
  msgstr "Unable to contact wpfront.com"
971
 
972
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:274
973
  msgid "Unable to parse response"
974
  msgstr "Unable to parse response"
975
 
976
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:341
977
  msgid "Site"
978
  msgstr "Site"
979
 
980
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:342
981
  msgid "Product"
982
  msgstr "Product"
983
 
984
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:346
985
  msgid ""
986
  "Your WPFront User Role Editor Pro license was activated on the following "
987
  "site."
989
  "Your WPFront User Role Editor Pro license was activated on the following "
990
  "site."
991
 
992
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:347
993
  msgid "WPFront User Role Editor Pro License Activated"
994
  msgstr "WPFront User Role Editor Pro License Activated"
995
 
996
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:349
997
  msgid "Activated By"
998
  msgstr "Activated By"
999
 
1000
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:350
1001
  msgid "Activated On"
1002
  msgstr "Activated On"
1003
 
1004
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:354
1005
  msgid ""
1006
  "Your WPFront User Role Editor Pro license was deactivated on the following "
1007
  "site."
1009
  "Your WPFront User Role Editor Pro license was deactivated on the following "
1010
  "site."
1011
 
1012
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:355
1013
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:367
1014
  msgid "WPFront User Role Editor Pro License Deactivated"
1015
  msgstr "WPFront User Role Editor Pro License Deactivated"
1016
 
1017
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:357
1018
  msgid "Deactivated By"
1019
  msgstr "Deactivated By"
1020
 
1021
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:358
1022
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:368
1023
  msgid "Deactivated On"
1024
  msgstr "Deactivated On"
1025
 
1026
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:362
1027
  msgid ""
1028
  "Your WPFront User Role Editor Pro license is invalid on the following site. "
1029
  "Please activate a valid license immediately for the plugin to continue "
1033
  "Please activate a valid license immediately for the plugin to continue "
1034
  "working."
1035
 
1036
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:363
1037
  msgid "WPFront User Role Editor Pro Invalid License"
1038
  msgstr "WPFront User Role Editor Pro Invalid License"
1039
 
1040
+ #: ../classes/class-wpfront-user-role-editor-go-pro.php:366
1041
  msgid ""
1042
  "Your invalid WPFront User Role Editor Pro license was deactivated on the "
1043
  "following site. Please activate a valid license immediately for the plugin "
1210
  msgstr "No login redirects found."
1211
 
1212
  #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:84
1213
+ #: ../classes/class-wpfront-user-role-editor.php:259
1214
  #: ../templates/delete-role.php:49 ../templates/login-redirect.php:99
1215
  msgid "Role"
1216
  msgstr "Role"
1221
  msgstr "Priority"
1222
 
1223
  #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:86
1224
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:148
1225
  #: ../templates/login-redirect.php:133
1226
  msgid "URL"
1227
  msgstr "URL"
1324
  msgid "Documentation on Login Redirect"
1325
  msgstr "Documentation on Login Redirect"
1326
 
1327
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:90
1328
  #, php-format
1329
  msgid "%s (Invalid)"
1330
  msgstr "%s (Invalid)"
1331
 
1332
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:94
1333
  #, php-format
1334
  msgid "%s (Pending)"
1335
  msgstr "%s (Pending)"
1336
 
1337
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:107
1338
  msgid "sub item"
1339
  msgstr "sub item"
1340
 
1341
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:139
1342
  msgid "Edit Menu Item"
1343
  msgstr "Edit Menu Item"
1344
 
1345
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:155
1346
  msgid "Navigation Label"
1347
  msgstr "Navigation Label"
1348
 
1349
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:161
1350
  msgid "Title Attribute"
1351
  msgstr "Title Attribute"
1352
 
1353
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:168
1354
  msgid "Open link in a new window/tab"
1355
  msgstr "Open link in a new window/tab"
1356
 
1357
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:173
1358
  msgid "CSS Classes (optional)"
1359
  msgstr "CSS Classes (optional)"
1360
 
1361
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:179
1362
  msgid "Link Relationship (XFN)"
1363
  msgstr "Link Relationship (XFN)"
1364
 
1365
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:187
1366
  msgid ""
1367
  "The description will be displayed in the menu if the current theme supports "
1368
  "it."
1370
  "The description will be displayed in the menu if the current theme supports "
1371
  "it."
1372
 
1373
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:197
1374
  msgid "Move"
1375
  msgstr "Move"
1376
 
1377
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:198
1378
  msgid "Up one"
1379
  msgstr "Up one"
1380
 
1381
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:199
1382
  msgid "Down one"
1383
  msgstr "Down one"
1384
 
1385
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:202
1386
  msgid "To the top"
1387
  msgstr "To the top"
1388
 
1389
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:209
1390
  #, php-format
1391
  msgid "Original: %s"
1392
  msgstr "Original: %s"
1393
 
1394
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:222
1395
  msgid "Remove"
1396
  msgstr "Remove"
1397
 
1398
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:223
1399
  #: ../templates/restore-role.php:54
1400
  msgid "Cancel"
1401
  msgstr "Cancel"
1402
 
1403
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:84
1404
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:119
1405
+ #: ../classes/class-wpfront-user-role-editor-widget-permissions.php:90
1406
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:247
1407
  #: ../templates/personal-pro/content-shortcodes-add-edit.php:42
1408
  msgid "All Users"
1410
 
1411
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:88
1412
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:120
1413
+ #: ../classes/class-wpfront-user-role-editor-widget-permissions.php:91
1414
  msgid "Logged in Users"
1415
  msgstr "Logged in Users"
1416
 
1417
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:91
1418
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:121
1419
+ #: ../classes/class-wpfront-user-role-editor-widget-permissions.php:92
1420
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:255
1421
  #: ../templates/personal-pro/content-shortcodes-add-edit.php:46
1422
  msgid "Guest Users"
1424
 
1425
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:94
1426
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:122
1427
+ #: ../classes/class-wpfront-user-role-editor-widget-permissions.php:93
1428
  msgid "Users by Role"
1429
  msgstr "Users by Role"
1430
 
1431
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:105
1432
+ #: ../classes/class-wpfront-user-role-editor-widget-permissions.php:140
1433
  #, php-format
1434
  msgid "%s to limit based on roles."
1435
  msgstr "%s to limit based on roles."
1436
 
1437
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:117
1438
+ #: ../classes/class-wpfront-user-role-editor-widget-permissions.php:88
1439
  msgid "User Restrictions"
1440
  msgstr "User Restrictions"
1441
 
1442
+ #: ../classes/class-wpfront-user-role-editor-options.php:275
1443
  msgid ""
1444
  "These settings are applicable for the network admin dashboard. Also these "
1445
  "settings will propagate to the individual sites unless its overridden within "
1449
  "settings will propagate to the individual sites unless its overridden within "
1450
  "that site’s settings."
1451
 
1452
+ #: ../classes/class-wpfront-user-role-editor-options.php:282
1453
  #: ../templates/options-template.php:61
1454
  msgid "Enable Large Network Functionalities"
1455
  msgstr "Enable Large Network Functionalities"
1456
 
1457
+ #: ../classes/class-wpfront-user-role-editor-options.php:284
1458
  msgid "This setting is only visible when you have a large network."
1459
  msgstr "This setting is only visible when you have a large network."
1460
 
1461
+ #: ../classes/class-wpfront-user-role-editor-options.php:286
1462
  msgid "More details"
1463
  msgstr "More details"
1464
 
1465
+ #: ../classes/class-wpfront-user-role-editor-options.php:290
1466
+ #: ../classes/class-wpfront-user-role-editor-options.php:322
1467
  #: ../templates/options-template.php:70
1468
  msgid "Display Deprecated Capabilities"
1469
  msgstr "Display Deprecated Capabilities"
1470
 
1471
+ #: ../classes/class-wpfront-user-role-editor-options.php:292
1472
+ #: ../classes/class-wpfront-user-role-editor-options.php:324
1473
  msgid ""
1474
  "If enabled, deprecated capabilities will be displayed within the add/edit "
1475
  "screens."
1477
  "If enabled, deprecated capabilities will be displayed within the add/edit "
1478
  "screens."
1479
 
1480
+ #: ../classes/class-wpfront-user-role-editor-options.php:295
1481
+ #: ../classes/class-wpfront-user-role-editor-options.php:327
1482
  #: ../templates/options-template.php:78
1483
  msgid "Remove Non-Standard Capabilities on Restore"
1484
  msgstr "Remove Non-Standard Capabilities on Restore"
1485
 
1486
+ #: ../classes/class-wpfront-user-role-editor-options.php:297
1487
+ #: ../classes/class-wpfront-user-role-editor-options.php:329
1488
  msgid ""
1489
  "If enabled, while restoring WordPress built-in capabilities non-standard "
1490
  "capabilities will be removed."
1492
  "If enabled, while restoring WordPress built-in capabilities non-standard "
1493
  "capabilities will be removed."
1494
 
1495
+ #: ../classes/class-wpfront-user-role-editor-options.php:300
1496
+ #: ../classes/class-wpfront-user-role-editor-options.php:332
1497
  #: ../templates/options-template.php:86
1498
  msgid "Override Edit Permissions"
1499
  msgstr "Override Edit Permissions"
1500
 
1501
+ #: ../classes/class-wpfront-user-role-editor-options.php:302
1502
+ #: ../classes/class-wpfront-user-role-editor-options.php:334
1503
  msgid "If enabled, ignores the check to the function get_editable_roles."
1504
  msgstr "If enabled, ignores the check to the function get_editable_roles."
1505
 
1506
+ #: ../classes/class-wpfront-user-role-editor-options.php:305
1507
+ #: ../classes/class-wpfront-user-role-editor-options.php:337
1508
  #: ../templates/options-template.php:94
1509
  msgid "Disable Navigation Menu Permissions"
1510
  msgstr "Disable Navigation Menu Permissions"
1511
 
1512
+ #: ../classes/class-wpfront-user-role-editor-options.php:307
1513
+ #: ../classes/class-wpfront-user-role-editor-options.php:339
1514
  msgid "If enabled, disables navigation menu permissions functionality."
1515
  msgstr "If enabled, disables navigation menu permissions functionality."
1516
 
1517
+ #: ../classes/class-wpfront-user-role-editor-options.php:310
1518
+ #: ../classes/class-wpfront-user-role-editor-options.php:342
1519
  #: ../templates/options-template.php:131
1520
  msgid "Remove Data on Uninstall"
1521
  msgstr "Remove Data on Uninstall"
1522
 
1523
+ #: ../classes/class-wpfront-user-role-editor-options.php:312
1524
+ #: ../classes/class-wpfront-user-role-editor-options.php:344
1525
  msgid ""
1526
  "If enabled, removes all data related to this plugin from database (except "
1527
  "roles data) including license information if any. This will not deactivate "
1531
  "roles data) including license information if any. This will not deactivate "
1532
  "the license automatically."
1533
 
1534
+ #: ../classes/class-wpfront-user-role-editor-options.php:355
1535
  msgid "Documentation on Multisite Settings"
1536
  msgstr "Documentation on Multisite Settings"
1537
 
1538
+ #: ../classes/class-wpfront-user-role-editor-options.php:362
1539
  msgid "Documentation on Settings"
1540
  msgstr "Documentation on Settings"
1541
 
1543
  msgid "Documentation on Restore"
1544
  msgstr "Documentation on Restore"
1545
 
1546
+ #: ../classes/class-wpfront-user-role-editor.php:261
1547
  #: ../templates/add-remove-capability.php:40
1548
  msgid "Add/Remove Capability"
1549
  msgstr "Add/Remove Capability"
1550
 
1551
+ #: ../classes/class-wpfront-user-role-editor.php:261
1552
  msgid "Add/Remove Cap"
1553
  msgstr "Add/Remove Cap"
1554
 
1555
+ #: ../classes/class-wpfront-user-role-editor.php:262
1556
  #: ../templates/login-redirect.php:40
1557
  msgid "Login Redirect"
1558
  msgstr "Login Redirect"
1559
 
1560
+ #: ../classes/class-wpfront-user-role-editor.php:287
1561
  msgid "Assign Roles | Migrate Users"
1562
  msgstr "Assign Roles | Migrate Users"
1563
 
1564
+ #: ../classes/class-wpfront-user-role-editor.php:287
1565
  msgid "Assign / Migrate"
1566
  msgstr "Assign / Migrate"
1567
 
1568
+ #: ../classes/class-wpfront-user-role-editor.php:407
1569
  msgid "Buy me a Beer"
1570
  msgstr "Buy me a Beer"
1571
 
1589
  "\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a href=\"%4$s"
1590
  "\">update now</a>."
1591
 
1592
+ #: ../classes/personal-pro/EDD_SL_Plugin_Updater.php:311
1593
  msgid "You do not have permission to install plugin updates"
1594
  msgstr "You do not have permission to install plugin updates"
1595
 
1596
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:195
1597
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:201
1598
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:209
1599
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:215
1600
+ msgid "Post not found"
1601
+ msgstr "Post not found"
1602
+
1603
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:234
1604
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:238
1605
+ msgid "Permission denied"
1606
+ msgstr "Permission denied"
1607
+
1608
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:315
1609
+ msgid "Step 1: Select the post type you want to bulk edit."
1610
+ msgstr "Step 1: Select the post type you want to bulk edit."
1611
+
1612
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:318
1613
+ msgid "Step 2: Select the posts you want to bulk edit."
1614
+ msgstr "Step 2: Select the posts you want to bulk edit."
1615
+
1616
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:321
1617
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:213
1618
+ msgid "Step 3: Select the role permissions."
1619
+ msgstr "Step 3: Select the role permissions."
1620
+
1621
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:324
1622
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:244
1623
+ msgid "Step 4: Update role permissions."
1624
+ msgstr "Step 4: Update role permissions."
1625
+
1626
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit-extended-permissions.php:333
1627
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit.php:93
1628
+ msgid "Documentation on Bulk Edit"
1629
+ msgstr "Documentation on Bulk Edit"
1630
+
1631
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit.php:78
1632
+ msgid "This screen allows you to bulk edit role permissions."
1633
+ msgstr "This screen allows you to bulk edit role permissions."
1634
+
1635
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit.php:81
1636
+ #: ../templates/personal-pro/bulk-edit.php:22
1637
+ msgid "Add or remove capability"
1638
+ msgstr "Add or remove capability"
1639
+
1640
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit.php:81
1641
+ msgid "Choose this option to add or remove capabilty from multiple roles."
1642
+ msgstr "Choose this option to add or remove capabilty from multiple roles."
1643
+
1644
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit.php:84
1645
+ #: ../templates/personal-pro/bulk-edit.php:29
1646
+ msgid "Extended permissions"
1647
+ msgstr "Extended permissions"
1648
+
1649
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-bulk-edit.php:84
1650
+ msgid "Choose this option to bulk edit post extended permissions."
1651
+ msgstr "Choose this option to bulk edit post extended permissions."
1652
+
1653
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:68
1654
  msgid "No shortcodes found."
1655
  msgstr "No shortcodes found."
1691
 
1692
  #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:235
1693
  #: ../classes/personal-pro/class-wpfront-user-role-editor-nav-menu-pro.php:23
1694
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:115
1695
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-widget-permissions-pro.php:35
1696
  msgid "[Guest]"
1697
  msgstr "[Guest]"
1698
 
1980
  msgid "Documentation on Menu Editor"
1981
  msgstr "Documentation on Menu Editor"
1982
 
1983
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:97
1984
  #: ../templates/personal-pro/menu-editor.php:9
1985
  msgid "Menu Editor"
1986
  msgstr "Menu Editor"
1987
 
1988
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:98
1989
  #: ../templates/personal-pro/content-shortcodes.php:9
1990
  msgid "Content Shortcodes"
1991
  msgstr "Content Shortcodes"
1992
 
1993
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:98
1994
  msgid "Shortcodes"
1995
  msgstr "Shortcodes"
1996
 
1997
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:99
1998
  #: ../templates/personal-pro/export-roles.php:9
1999
  msgid "Export Roles"
2000
  msgstr "Export Roles"
2001
 
2002
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:99
2003
  msgid "Export"
2004
  msgstr "Export"
2005
 
2006
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:100
2007
  #: ../templates/personal-pro/import-roles.php:9
2008
  #: ../templates/personal-pro/import-roles.php:88
2009
  msgid "Import Roles"
2010
  msgstr "Import Roles"
2011
 
2012
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:100
2013
  msgid "Import"
2014
  msgstr "Import"
2015
 
2016
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:101
2017
+ #: ../templates/personal-pro/bulk-edit.php:9
2018
+ msgid "Bulk Edit"
2019
+ msgstr "Bulk Edit"
2020
+
2021
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:123
2022
  #, php-format
2023
  msgid "%s license not activated."
2024
  msgstr "%s license not activated."
2025
 
2026
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:76
2027
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:328
2028
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:218
2029
  msgid "Role Permissions"
2030
  msgstr "Role Permissions"
2031
 
2103
  #: ../templates/business-pro/sync-roles.php:44
2104
  #: ../templates/business-pro/sync-roles.php:99
2105
  #: ../templates/business-pro/sync-roles.php:249
2106
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:55
2107
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:87
2108
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:232
2109
+ #: ../templates/personal-pro/bulk-edit.php:35
2110
  msgid "Next Step"
2111
  msgstr "Next Step"
2112
 
2179
  msgstr "Update new user default role: "
2180
 
2181
  #: ../templates/business-pro/sync-roles.php:348
2182
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:289
2183
  msgid "SUCCESS"
2184
  msgstr "SUCCESS"
2185
 
2186
  #: ../templates/business-pro/sync-roles.php:351
2187
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:293
2188
  msgid "FAIL"
2189
  msgstr "FAIL"
2190
 
2281
  msgstr "Disable Toolbar"
2282
 
2283
  #: ../templates/login-redirect.php:160
2284
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:250
2285
  #: ../templates/personal-pro/content-shortcodes-add-edit.php:67
2286
  msgid "Submit"
2287
  msgstr "Submit"
2315
  msgid "No customizable post types found."
2316
  msgstr "No customizable post types found."
2317
 
2318
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:29
2319
+ msgid "Extended Permissions"
2320
+ msgstr "Extended Permissions"
2321
+
2322
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:39
2323
+ msgid "Step 1: Select the post type to bulk edit"
2324
+ msgstr "Step 1: Select the post type to bulk edit"
2325
+
2326
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:67
2327
+ #, php-format
2328
+ msgid "Step 2: Select the %s to bulk edit"
2329
+ msgstr "Step 2: Select the %s to bulk edit"
2330
+
2331
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:71
2332
+ #, php-format
2333
+ msgid "All %s"
2334
+ msgstr "All %s"
2335
+
2336
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:76
2337
+ #, php-format
2338
+ msgid "Selected %s"
2339
+ msgstr "Selected %s"
2340
+
2341
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:247
2342
+ #, php-format
2343
+ msgid "%d %s selected to update."
2344
+ msgstr "%d %s selected to update."
2345
+
2346
+ #: ../templates/personal-pro/bulk-edit-extended-permissions.php:279
2347
+ #, php-format
2348
+ msgid "Updating %s"
2349
+ msgstr "Updating %s"
2350
+
2351
+ #: ../templates/personal-pro/bulk-edit.php:13
2352
+ msgid "Select an option to continue"
2353
+ msgstr "Select an option to continue"
2354
+
2355
  #: ../templates/personal-pro/content-shortcodes-add-edit.php:25
2356
  msgid "unique"
2357
  msgstr "unique"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: syammohanm
3
  Donate link: https://wpfront.com/donate/
4
  Tags: WordPress user role editor, user role editor, role editor, user role, role, WordPress user roles, user roles, roles, user roles editor, roles editor, role manager, roles manager, manage roles, manage role, access, capability, editor, permission, role, security, user, capability editor, capability manager, custom post types, custom post type permissions, custom post type capabilities, post type permissions, post type capabilities, menu editor, role menu, role menu editor, multisite roles, multisite role editor, multisite user roles, import roles, export roles
5
  Requires at least: 3.5
6
- Tested up to: 4.3
7
- Stable tag: 2.11.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -26,11 +26,13 @@ You can create, edit or delete user roles and manage role capabilities.
26
  * Assign multiple roles.
27
  * Migrate users.
28
  * Navigation menu permissions basic.
 
29
  * Login redirect basic.
30
  * [Admin menu editor.](https://wpfront.com/user-role-editor-pro/menu-editor/) [PRO]
31
  * [Media library permissions.](https://wpfront.com/user-role-editor-pro/media-attachment-file-permissions/) [PRO]
32
  * [User level permissions.](https://wpfront.com/user-role-editor-pro/user-level-permissions/) [PRO]
33
  * [Navigation menu permissions advanced.](https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/) [PRO]
 
34
  * [Login redirect advanced.](https://wpfront.com/user-role-editor-pro/login-redirect/) [PRO]
35
  * [Post/Page extended permissions.](https://wpfront.com/user-role-editor-pro/posts-pages-extended-permissions/) [PRO]
36
  * [Custom post type permissions.](https://wpfront.com/user-role-editor-pro/custom-post-type-permissions/) [PRO]
@@ -83,9 +85,13 @@ Please visit [WPFront User Role Editor FAQ](https://wpfront.com/user-role-editor
83
  16. Content restriction shortcodes
84
  17. Login redirect
85
  18. User level permissions
 
86
 
87
  == Changelog ==
88
 
 
 
 
89
  = 2.11.3 =
90
  * CSS fix.
91
 
@@ -196,6 +202,9 @@ Please visit [WPFront User Role Editor FAQ](https://wpfront.com/user-role-editor
196
 
197
  == Upgrade Notice ==
198
 
 
 
 
199
  = 2.11.3 =
200
  * CSS fix.
201
 
3
  Donate link: https://wpfront.com/donate/
4
  Tags: WordPress user role editor, user role editor, role editor, user role, role, WordPress user roles, user roles, roles, user roles editor, roles editor, role manager, roles manager, manage roles, manage role, access, capability, editor, permission, role, security, user, capability editor, capability manager, custom post types, custom post type permissions, custom post type capabilities, post type permissions, post type capabilities, menu editor, role menu, role menu editor, multisite roles, multisite role editor, multisite user roles, import roles, export roles
5
  Requires at least: 3.5
6
+ Tested up to: 4.4
7
+ Stable tag: 2.12
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
26
  * Assign multiple roles.
27
  * Migrate users.
28
  * Navigation menu permissions basic.
29
+ * Widget permissions basic.
30
  * Login redirect basic.
31
  * [Admin menu editor.](https://wpfront.com/user-role-editor-pro/menu-editor/) [PRO]
32
  * [Media library permissions.](https://wpfront.com/user-role-editor-pro/media-attachment-file-permissions/) [PRO]
33
  * [User level permissions.](https://wpfront.com/user-role-editor-pro/user-level-permissions/) [PRO]
34
  * [Navigation menu permissions advanced.](https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/) [PRO]
35
+ * [Widget permissions advanced.](https://wpfront.com/user-role-editor-pro/widget-permissions/) [PRO]
36
  * [Login redirect advanced.](https://wpfront.com/user-role-editor-pro/login-redirect/) [PRO]
37
  * [Post/Page extended permissions.](https://wpfront.com/user-role-editor-pro/posts-pages-extended-permissions/) [PRO]
38
  * [Custom post type permissions.](https://wpfront.com/user-role-editor-pro/custom-post-type-permissions/) [PRO]
85
  16. Content restriction shortcodes
86
  17. Login redirect
87
  18. User level permissions
88
+ 19. Widget permissions
89
 
90
  == Changelog ==
91
 
92
+ = 2.12 =
93
+ * Widget permissions added. [Documentation](https://wpfront.com/user-role-editor-pro/widget-permissions/).
94
+
95
  = 2.11.3 =
96
  * CSS fix.
97
 
202
 
203
  == Upgrade Notice ==
204
 
205
+ = 2.12 =
206
+ * Widget permissions.
207
+
208
  = 2.11.3 =
209
  * CSS fix.
210
 
templates/go-pro-table CHANGED
@@ -101,6 +101,9 @@
101
  <div class="cell">
102
  <i class="fa fa-times"></i>
103
  </div>
 
 
 
104
  <div class="cell">
105
  &nbsp;
106
  </div>
@@ -119,7 +122,10 @@
119
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/assign-migrate-users/">Assign/Migrate Users</a>
120
  </div>
121
  <div class="cell">
122
- <a target="_blank" href="https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/">Navigation Menu Advanced</a>
 
 
 
123
  </div>
124
  <div class="cell">
125
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/login-redirect/">Login Redirect Advanced</a>
@@ -170,9 +176,12 @@
170
  </div>
171
  <div class="cell">
172
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/assign-migrate-users/">Assign/Migrate Users</a>
173
- </div>
 
 
 
174
  <div class="cell">
175
- <a target="_blank" href="https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/">Navigation Menu Advanced</a>
176
  </div>
177
  <div class="cell">
178
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/login-redirect/">Login Redirect Advanced</a>
101
  <div class="cell">
102
  <i class="fa fa-times"></i>
103
  </div>
104
+ <div class="cell">
105
+ <i class="fa fa-times"></i>
106
+ </div>
107
  <div class="cell">
108
  &nbsp;
109
  </div>
122
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/assign-migrate-users/">Assign/Migrate Users</a>
123
  </div>
124
  <div class="cell">
125
+ <a target="_blank" href="https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/">Navigation Menu Permissions Advanced</a>
126
+ </div>
127
+ <div class="cell">
128
+ <a target="_blank" href="https://wpfront.com/user-role-editor-pro/widget-permissions/">Widget Permissions Advanced</a>
129
  </div>
130
  <div class="cell">
131
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/login-redirect/">Login Redirect Advanced</a>
176
  </div>
177
  <div class="cell">
178
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/assign-migrate-users/">Assign/Migrate Users</a>
179
+ </div>
180
+ <div class="cell">
181
+ <a target="_blank" href="https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/">Navigation Menu Permissions Advanced</a>
182
+ </div>
183
  <div class="cell">
184
+ <a target="_blank" href="https://wpfront.com/user-role-editor-pro/widget-permissions/">Widget Permissions Advanced</a>
185
  </div>
186
  <div class="cell">
187
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/login-redirect/">Login Redirect Advanced</a>
uninstall.php CHANGED
@@ -23,6 +23,7 @@ if (is_multisite() && class_exists('WPFront_User_Role_Editor_Business_Pro_Contro
23
  WPFront_User_Role_Editor_Entity_Login_Redirect::uninstall();
24
 
25
  WPFront_User_Role_Editor_Nav_Menu::uninstall();
 
26
  }
27
  }
28
 
@@ -48,6 +49,9 @@ if (is_multisite() && class_exists('WPFront_User_Role_Editor_Business_Pro_Contro
48
 
49
  if (class_exists('WPFront_User_Role_Editor_Nav_Menu'))
50
  WPFront_User_Role_Editor_Nav_Menu::uninstall();
 
 
 
51
  }
52
  }
53
 
23
  WPFront_User_Role_Editor_Entity_Login_Redirect::uninstall();
24
 
25
  WPFront_User_Role_Editor_Nav_Menu::uninstall();
26
+ WPFront_User_Role_Editor_Widget_Permissions::uninstall();
27
  }
28
  }
29
 
49
 
50
  if (class_exists('WPFront_User_Role_Editor_Nav_Menu'))
51
  WPFront_User_Role_Editor_Nav_Menu::uninstall();
52
+
53
+ if (class_exists('WPFront_User_Role_Editor_Widget_Permissions'))
54
+ WPFront_User_Role_Editor_Widget_Permissions::uninstall();
55
  }
56
  }
57
 
wpfront-user-role-editor.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: WPFront User Role Editor
5
  * Plugin URI: http://wpfront.com/user-role-editor-pro/
6
  * Description: Allows you to manage user roles.
7
- * Version: 2.11.3
8
  * Author: Syam Mohan
9
  * Author URI: http://wpfront.com
10
  * License: GPL v3
4
  * Plugin Name: WPFront User Role Editor
5
  * Plugin URI: http://wpfront.com/user-role-editor-pro/
6
  * Description: Allows you to manage user roles.
7
+ * Version: 2.12
8
  * Author: Syam Mohan
9
  * Author URI: http://wpfront.com
10
  * License: GPL v3