Plugin Directory

Changeset 689832


Ignore:
Timestamp:
04/01/2013 06:16:58 AM (13 years ago)
Author:
Jesper800
Message:

Releasing version 0.1.1

Location:
user-hierarchy/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • user-hierarchy/trunk/lib/roles.php

    r689827 r689832  
    4646        $currentuser_role = JWUH_Roles::get_user_role(wp_get_current_user()->ID);
    4747       
    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        }
    4953       
    5054        if (!isset($role_access[$currentuser_role])) {
  • user-hierarchy/trunk/readme.txt

    r689828 r689832  
    3535== Changelog ==
    3636
     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
    3741= 0.1 =
    3842
  • user-hierarchy/trunk/user-hierarchy.php

    r689827 r689832  
    33Plugin Name: User Hierarchy
    44Description: 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
     5Version: 0.1.1
    66Author: Jesper van Engelen
    77Author URI: http://www.jepps.nl
     
    1010
    1111// Plugin information
    12 define('JWUH_VERSION', '0.1');
     12define('JWUH_VERSION', '0.1.1');
    1313
    1414// Paths
Note: See TracChangeset for help on using the changeset viewer.