Capability Manager Enhanced - Version 1.4.7

Version Description

  • Compat : Press Permit - flagging of roles as "supplemental assignment only" was not saved
Download this release

Release Info

Developer kevinB
Plugin Icon 128x128 Capability Manager Enhanced
Version 1.4.7
Comparing to
See all releases

Code changes from version 1.4.6 to 1.4.7

capsman-enhanced.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Capability Manager Enhanced
4
Plugin URI: http://presspermit.com/capability-manager
5
Description: Manage WordPress role definitions. Organizes available capabilities by post type, status and source.
6
- Version: 1.4.6
7
Author: Jordi Canals, Kevin Behrens
8
Author URI: http://agapetry.net
9
*/
@@ -32,8 +32,8 @@ Author URI: http://agapetry.net
32
*/
33
34
if ( ! defined( 'CAPSMAN_VERSION' ) ) {
35
- define( 'CAPSMAN_VERSION', '1.4.6' );
36
- define( 'CAPSMAN_ENH_VERSION', '1.4.6' );
37
}
38
39
if ( cme_is_plugin_active( 'capsman.php' ) ) {
3
Plugin Name: Capability Manager Enhanced
4
Plugin URI: http://presspermit.com/capability-manager
5
Description: Manage WordPress role definitions. Organizes available capabilities by post type, status and source.
6
+ Version: 1.4.7
7
Author: Jordi Canals, Kevin Behrens
8
Author URI: http://agapetry.net
9
*/
32
*/
33
34
if ( ! defined( 'CAPSMAN_VERSION' ) ) {
35
+ define( 'CAPSMAN_VERSION', '1.4.7' );
36
+ define( 'CAPSMAN_ENH_VERSION', '1.4.7' );
37
}
38
39
if ( cme_is_plugin_active( 'capsman.php' ) ) {
includes/admin.php CHANGED
@@ -478,6 +478,7 @@ if( defined('PP_ACTIVE') ) {
478
<?php if ( $support_pp_only_roles && ! in_array( $default, array( 'subscriber', 'contributor', 'author', 'editor', 'administrator' ) ) ) : ?>
479
<div style="float:right">
480
<?php
481
$pp_only = (array) pp_get_option( 'supplemental_role_defs' );
482
$checked = ( in_array( $default, $pp_only ) ) ? 'checked="checked"': '';
483
?>
478
<?php if ( $support_pp_only_roles && ! in_array( $default, array( 'subscriber', 'contributor', 'author', 'editor', 'administrator' ) ) ) : ?>
479
<div style="float:right">
480
<?php
481
+ pp_refresh_options();
482
$pp_only = (array) pp_get_option( 'supplemental_role_defs' );
483
$checked = ( in_array( $default, $pp_only ) ) ? 'checked="checked"': '';
484
?>
includes/manager.php CHANGED
@@ -64,7 +64,7 @@ function cme_update_pp_usage() {
64
}
65
}
66
67
- if ( ! empty( $_REQUEST['Save']) ) {
68
if ( ! empty( $_REQUEST['role'] ) ) {
69
$pp_only = (array) pp_get_option( 'supplemental_role_defs' );
70
64
}
65
}
66
67
+ if ( ! empty( $_REQUEST['SaveRole']) ) {
68
if ( ! empty( $_REQUEST['role'] ) ) {
69
$pp_only = (array) pp_get_option( 'supplemental_role_defs' );
70
readme.txt CHANGED
@@ -4,7 +4,7 @@ Help link: http://wordpress.org/tags/capsman-enhanced
4
Tags: roles, capabilities, manager, editor, rights, role, capability, types, taxonomies
5
Requires at least: 3.1
6
Tested up to: 3.4.2
7
- Stable tag: 1.4.6
8
9
A simple way to manage WordPress roles and capabilities. With this plugin you will be able to easily create and manage roles and capabilities.
10
@@ -103,6 +103,9 @@ You should have received a copy of the GNU General Public License along with thi
103
104
== Changelog ==
105
106
= 1.4.6 =
107
* Compat : bbPress 2.2 (supports customization of dynamic forum role capabilities)
108
* Compat : Press Permit + bbPress - customized role capabilities were not properly maintained on bbPress activation / deactivation, in some scenarios
4
Tags: roles, capabilities, manager, editor, rights, role, capability, types, taxonomies
5
Requires at least: 3.1
6
Tested up to: 3.4.2
7
+ Stable tag: 1.4.7
8
9
A simple way to manage WordPress roles and capabilities. With this plugin you will be able to easily create and manage roles and capabilities.
10
103
104
== Changelog ==
105
106
+ = 1.4.7 =
107
+ * Compat : Press Permit - flagging of roles as "supplemental assignment only" was not saved
108
+
109
= 1.4.6 =
110
* Compat : bbPress 2.2 (supports customization of dynamic forum role capabilities)
111
* Compat : Press Permit + bbPress - customized role capabilities were not properly maintained on bbPress activation / deactivation, in some scenarios