Changeset 689832
- Timestamp:
- 04/01/2013 06:16:58 AM (13 years ago)
- Location:
- user-hierarchy/trunk
- Files:
-
- 3 edited
-
lib/roles.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
user-hierarchy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
user-hierarchy/trunk/lib/roles.php
r689827 r689832 46 46 $currentuser_role = JWUH_Roles::get_user_role(wp_get_current_user()->ID); 47 47 48 $role_access = get_option('jwuh_role_access'); 48 $role_access = get_option('jwuh_role_access', array()); 49 50 if (!is_array($role_access)) { 51 return false; 52 } 49 53 50 54 if (!isset($role_access[$currentuser_role])) { -
user-hierarchy/trunk/readme.txt
r689828 r689832 35 35 == Changelog == 36 36 37 = 0.1.1 = 38 39 * Fixing minor issue for when the plugin is installed and plugin actions are performed without the plugin options being set 40 37 41 = 0.1 = 38 42 -
user-hierarchy/trunk/user-hierarchy.php
r689827 r689832 3 3 Plugin Name: User Hierarchy 4 4 Description: Implement a hierarchy in adding and editing users by allowing specific roles to only manage users from another specific role. Restrict user management on a per-role basis. 5 Version: 0.1 5 Version: 0.1.1 6 6 Author: Jesper van Engelen 7 7 Author URI: http://www.jepps.nl … … 10 10 11 11 // Plugin information 12 define('JWUH_VERSION', '0.1 ');12 define('JWUH_VERSION', '0.1.1'); 13 13 14 14 // Paths
Note: See TracChangeset
for help on using the changeset viewer.