WPFront User Role Editor - Version 2.9.1

Version Description

  • Show toolbar inheritance bug fix.
Download this release

Release Info

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

Code changes from version 2.9 to 2.9.1

classes/class-wpfront-user-role-editor-login-redirect.php CHANGED
@@ -145,7 +145,7 @@ if (!class_exists('WPFront_User_Role_Editor_Login_Redirect')) {
145
 
146
  $roles = $obj_user->roles;
147
  if (in_array(self::ADMINISTRATOR_ROLE_KEY, $roles))
148
- return TRUE;
149
 
150
  $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
151
  $data = $entity->get_all_login_redirect();
@@ -160,7 +160,7 @@ if (!class_exists('WPFront_User_Role_Editor_Login_Redirect')) {
160
  return FALSE;
161
  }
162
 
163
- return TRUE;
164
  }
165
  }
166
 
145
 
146
  $roles = $obj_user->roles;
147
  if (in_array(self::ADMINISTRATOR_ROLE_KEY, $roles))
148
+ return $show;
149
 
150
  $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
151
  $data = $entity->get_all_login_redirect();
160
  return FALSE;
161
  }
162
 
163
+ return $show;
164
  }
165
  }
166
 
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.9';
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';
38
  class WPFront_User_Role_Editor extends WPFront_Base_URE {
39
 
40
  //Constants
41
+ const VERSION = '2.9.1';
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';
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.1.1
7
- Stable tag: 2.9
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -84,6 +84,9 @@ Please visit [WPFront User Role Editor FAQ](https://wpfront.com/user-role-editor
84
 
85
  == Changelog ==
86
 
 
 
 
87
  = 2.9 =
88
  * Login redirect added. [Documentation](https://wpfront.com/user-role-editor-pro/login-redirect/).
89
  * Assign roles compatibility fix.
@@ -164,6 +167,9 @@ Please visit [WPFront User Role Editor FAQ](https://wpfront.com/user-role-editor
164
 
165
  == Upgrade Notice ==
166
 
 
 
 
167
  = 2.9 =
168
  * Login redirect.
169
 
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.2
7
+ Stable tag: 2.9.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
84
 
85
  == Changelog ==
86
 
87
+ = 2.9.1 =
88
+ * Show toolbar inheritance bug fix.
89
+
90
  = 2.9 =
91
  * Login redirect added. [Documentation](https://wpfront.com/user-role-editor-pro/login-redirect/).
92
  * Assign roles compatibility fix.
167
 
168
  == Upgrade Notice ==
169
 
170
+ = 2.9.1 =
171
+ * Bug fix.
172
+
173
  = 2.9 =
174
  * Login redirect.
175
 
templates/go-pro-table CHANGED
@@ -69,7 +69,10 @@
69
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/assign-migrate-users/">Assign/Migrate Users</a>
70
  </div>
71
  <div class="cell">
72
- <a target="_blank" href="https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/">Navigation Menu Basic</a>
 
 
 
73
  </div>
74
  <div class="cell">
75
  <i class="fa fa-times"></i>
@@ -114,6 +117,9 @@
114
  </div>
115
  <div class="cell">
116
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/">Navigation Menu Advanced</a>
 
 
 
117
  </div>
118
  <div class="cell">
119
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/menu-editor/">Admin Menu Editor</a>
@@ -161,6 +167,9 @@
161
  </div>
162
  <div class="cell">
163
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/">Navigation Menu Advanced</a>
 
 
 
164
  </div>
165
  <div class="cell">
166
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/menu-editor/">Admin Menu Editor</a>
69
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/assign-migrate-users/">Assign/Migrate Users</a>
70
  </div>
71
  <div class="cell">
72
+ <i class="fa fa-times"></i>
73
+ </div>
74
+ <div class="cell">
75
+ <i class="fa fa-times"></i>
76
  </div>
77
  <div class="cell">
78
  <i class="fa fa-times"></i>
117
  </div>
118
  <div class="cell">
119
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/">Navigation Menu Advanced</a>
120
+ </div>
121
+ <div class="cell">
122
+ <a target="_blank" href="https://wpfront.com/user-role-editor-pro/login-redirect/">Login Redirect Advanced</a>
123
  </div>
124
  <div class="cell">
125
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/menu-editor/">Admin Menu Editor</a>
167
  </div>
168
  <div class="cell">
169
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/">Navigation Menu Advanced</a>
170
+ </div>
171
+ <div class="cell">
172
+ <a target="_blank" href="https://wpfront.com/user-role-editor-pro/login-redirect/">Login Redirect Advanced</a>
173
  </div>
174
  <div class="cell">
175
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/menu-editor/">Admin Menu Editor</a>
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.9
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.9.1
8
  * Author: Syam Mohan
9
  * Author URI: http://wpfront.com
10
  * License: GPL v3