Capability Manager Enhanced - Version 1.9.10

Version Description

  • 1 Jun 2020 =
    • Fixed : PublishPress Permissions - Type / Taxonomy settings incorrectly synchronized under some conditions
Download this release

Release Info

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

Code changes from version 1.9.9 to 1.9.10

Files changed (3) hide show
  1. capsman-enhanced.php +5 -5
  2. includes/filters.php +1 -1
  3. readme.txt +5 -2
capsman-enhanced.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: PublishPress Capabilities
4
  * Plugin URI: https://publishpress.com/capability-manager/
5
  * Description: Manage WordPress role definitions, per-site or network-wide. Organizes post capabilities by post type and operation.
6
- * Version: 1.9.9
7
  * Author: PublishPress
8
  * Author URI: https://publishpress.com/
9
  * Text Domain: capsman-enhanced
@@ -25,13 +25,13 @@
25
  * @copyright Copyright (C) 2009, 2010 Jordi Canals; modifications Copyright (C) 2020 PublishPress
26
  * @license GNU General Public License version 3
27
  * @link https://publishpress.com/
28
- * @version 1.9.9
29
  */
30
 
31
  if (!defined('CAPSMAN_VERSION')) {
32
- define('CAPSMAN_VERSION', '1.9.9');
33
- define('CAPSMAN_ENH_VERSION', '1.9.9');
34
- define('PUBLISHPRESS_CAPS_VERSION', '1.9.9');
35
  }
36
 
37
  foreach (get_option('active_plugins') as $plugin_file) {
3
  * Plugin Name: PublishPress Capabilities
4
  * Plugin URI: https://publishpress.com/capability-manager/
5
  * Description: Manage WordPress role definitions, per-site or network-wide. Organizes post capabilities by post type and operation.
6
+ * Version: 1.9.10
7
  * Author: PublishPress
8
  * Author URI: https://publishpress.com/
9
  * Text Domain: capsman-enhanced
25
  * @copyright Copyright (C) 2009, 2010 Jordi Canals; modifications Copyright (C) 2020 PublishPress
26
  * @license GNU General Public License version 3
27
  * @link https://publishpress.com/
28
+ * @version 1.9.10
29
  */
30
 
31
  if (!defined('CAPSMAN_VERSION')) {
32
+ define('CAPSMAN_VERSION', '1.9.10');
33
+ define('CAPSMAN_ENH_VERSION', '1.9.10');
34
+ define('PUBLISHPRESS_CAPS_VERSION', '1.9.10');
35
  }
36
 
37
  foreach (get_option('active_plugins') as $plugin_file) {
includes/filters.php CHANGED
@@ -64,7 +64,7 @@ function _cme_migrate_pp_options() {
64
  foreach(['enabled_post_types', 'enabled_taxonomies', 'define_create_posts_cap'] as $option_basename) {
65
  $presspermit_options = get_option("presspermit_{$option_basename}");
66
 
67
- if (!$presspermit_options || !defined('PRESSPERMIT_VERSION')) {
68
  $prefix = ('enabled_post_types' == $option_basename) ? 'cme_' : 'pp_';
69
 
70
  if ($option_val = get_option("{$prefix}_{$option_basename}")) {
64
  foreach(['enabled_post_types', 'enabled_taxonomies', 'define_create_posts_cap'] as $option_basename) {
65
  $presspermit_options = get_option("presspermit_{$option_basename}");
66
 
67
+ if (!$presspermit_options) {
68
  $prefix = ('enabled_post_types' == $option_basename) ? 'cme_' : 'pp_';
69
 
70
  if ($option_val = get_option("{$prefix}_{$option_basename}")) {
readme.txt CHANGED
@@ -5,9 +5,9 @@ Author: PublishPress
5
  Author URI: https://publishpress.com
6
  Tags: user roles, capabilities, permissions, authors, editors, post types, taxonomies
7
  Requires at least: 4.9.7
8
- Tested up to: 5.4
9
  Requires PHP: 5.6.20
10
- Stable tag: 1.9.9
11
  License: GPLv3
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
13
 
@@ -114,6 +114,9 @@ Fixed : Non-administrators with user editing capabilities could add new Administ
114
 
115
  == Changelog ==
116
 
 
 
 
117
  = 1.9.9 - 13 May 2020 =
118
  * Compat : PublishPress Permissions - "Type-Specific Capabilities" setting was not properly synchronized with Permissions > Settings > Core > Filtered Post Types
119
 
5
  Author URI: https://publishpress.com
6
  Tags: user roles, capabilities, permissions, authors, editors, post types, taxonomies
7
  Requires at least: 4.9.7
8
+ Tested up to: 5.5
9
  Requires PHP: 5.6.20
10
+ Stable tag: 1.9.10
11
  License: GPLv3
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
13
 
114
 
115
  == Changelog ==
116
 
117
+ = 1.9.10 - 1 Jun 2020 =
118
+ * Fixed : PublishPress Permissions - Type / Taxonomy settings incorrectly synchronized under some conditions
119
+
120
  = 1.9.9 - 13 May 2020 =
121
  * Compat : PublishPress Permissions - "Type-Specific Capabilities" setting was not properly synchronized with Permissions > Settings > Core > Filtered Post Types
122