WordPress.org

Plugin Directory

Changeset 633760


Ignore:
Timestamp:
12/04/12 02:20:22 (17 months ago)
Author:
greenshady
Message:

Version 0.2.2.

Location:
members
Files:
67 added
5 edited

Legend:

Unmodified
Added
Removed
  • members/trunk/admin/roles-list-table.php

    r396884 r633760  
    77 */ 
    88 
    9 /* Get the global $wp_roles variable. */ 
    10 global $wp_roles; 
    11  
    129/* Get a count of all the roles available. */ 
    1310$roles_count = members_count_roles(); 
     
    4138 
    4239    /* Set up the roles array. */ 
    43     $list_roles = $wp_roles->role_names; 
     40    $list_roles = array_merge( $active_roles, $inactive_roles ); 
    4441 
    4542    /* Set the current page URL. */ 
  • members/trunk/docs/readme.html

    r396884 r633760  
    235235<h2 id="plugin-support">Plugin support</h2> 
    236236 
    237 <p>I run a WordPress community called <a href="http://themehybrid.com" title="Theme Hybrid">Theme Hybrid</a>, which is where I fully support all of my WordPress projects, including plugins.  You can sign up for an account to get plugin support for a small yearly fee ($25 <acronym title="United States Dollars">USD</acronym> at the time of writing).</p> 
     237<p>I run a WordPress community called <a href="http://themehybrid.com" title="Theme Hybrid">Theme Hybrid</a>, which is where I fully support all of my WordPress projects, including plugins.  You can sign up for an account to get plugin support for a small yearly fee ($29 <acronym title="United States Dollars">USD</acronym> at the time of writing).</p> 
    238238 
    239239<p>I know.  I know.  You might not want to pay for support, but just consider it a donation to the project.  To continue making cool, <acronym title="GNU General Public License">GPL</acronym>-licensed plugins and having the time to support them, I must pay the bills.</p> 
     
    245245<p>This plugin is copyrighted to <a href="http://justintadlock.com" title="Justin Tadlock">Justin Tadlock</a>.</p> 
    246246 
    247 <p>2009&thinsp;&ndash;&thinsp;2011 &copy; Justin Tadlock</p> 
     247<p>2009&thinsp;&ndash;&thinsp;2012 &copy; Justin Tadlock</p> 
    248248 
    249249</body> 
  • members/trunk/includes/functions.php

    r396884 r633760  
    3636 
    3737    if ( !empty( $wp_roles->role_names ) ) 
    38         return count( $wp_roles->role_names ); 
     38        return count( apply_filters( 'editable_roles', $wp_roles->role_names ) ); 
    3939 
    4040    return false; 
     
    5353        $active = array(); 
    5454 
    55         foreach ( $wp_roles->role_names as $role => $name ) { 
     55        foreach ( apply_filters( 'editable_roles', $wp_roles->role_names ) as $role => $name ) { 
    5656 
    5757            $count = members_get_role_user_count( $role ); 
     
    7979        $inactive = array(); 
    8080 
    81         foreach ( $wp_roles->role_names as $role => $name ) { 
     81        foreach ( apply_filters( 'editable_roles', $wp_roles->role_names ) as $role => $name ) { 
    8282 
    8383            $count = members_get_role_user_count( $role ); 
  • members/trunk/members.php

    r610826 r633760  
    44 * Plugin URI: http://justintadlock.com/archives/2009/09/17/members-wordpress-plugin 
    55 * Description: A user, role, and content management plugin for controlling permissions and access. A plugin for making WordPress a more powerful <acronym title="Content Management System">CMS</acronym>. 
    6  * Version: 0.2.1 
     6 * Version: 0.2.2 
    77 * Author: Justin Tadlock 
    88 * Author URI: http://justintadlock.com 
     
    2121 * 
    2222 * @package Members 
    23  * @version 0.2.1 
     23 * @version 0.2.2 
    2424 * @author Justin Tadlock <justin@justintadlock.com> 
    2525 * @copyright Copyright (c) 2009 - 2012, Justin Tadlock 
     
    7878 
    7979        /* Set the version number of the plugin. */ 
    80         define( 'MEMBERS_VERSION', '0.2.0' ); 
     80        define( 'MEMBERS_VERSION', '0.2.2' ); 
    8181 
    8282        /* Set the database version number of the plugin. */ 
  • members/trunk/readme.txt

    r610826 r633760  
    55Requires at least: 3.4 
    66Tested up to: 3.5 
    7 Stable tag: 0.2.1 
     7Stable tag: 0.2.2 
    88 
    99A user, role, and content management plugin that makes WordPress a more powerful CMS. 
     
    7171== Changelog == 
    7272 
     73**Version 0.2.2** 
     74 
     75* No longer displays non-editable roles on the edit roles screen. 
     76 
    7377**Version 0.2.1** 
    7478 
Note: See TracChangeset for help on using the changeset viewer.