Skip to content

Commit

Permalink
Merge pull request #88 from publishpress/v3.1.4
Browse files Browse the repository at this point in the history
V3.1.4
  • Loading branch information
agapetry authored Apr 23, 2020
2 parents 28c5d4e + 15e7648 commit 323b980
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ function __construct() {
add_filter('get_user_option_nav_menu_recently_edited', [$this, 'fltNavMenuRecent']);

add_filter('pre_update_option_nav_menu_options', [$this, 'fltUpdateNavMenuOptions'], 10, 2);
add_filter('update_post_metadata', [$this, 'fltUpdateNavMenuItemParent'], 10, 5);

if (!defined('PP_NAV_MENU_DISABLE_POSTMETA_FILTER') && (!class_exists('NestedPages') || defined('PP_NAV_MENU_ENABLE_POSTMETA_FILTER'))) {
add_filter('update_post_metadata', [$this, 'fltUpdateNavMenuItemParent'], 10, 5);
}

do_action('presspermit_nav_menu_filters');
}

public function fltNavMenuRecent($opt)
Expand Down
4 changes: 2 additions & 2 deletions press-permit-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Advanced yet accessible content permissions. Give users or groups type-specific roles. Enable or block access for specific posts or terms.
* Author: PublishPress
* Author URI: https://publishpress.com/
* Version: 3.1.4-beta
* Version: 3.1.4
* Text Domain: press-permit-core
* Domain Path: /languages/
* Min WP Version: 4.9.7
Expand Down Expand Up @@ -91,7 +91,7 @@ function()
return;
}

define('PRESSPERMIT_VERSION', '3.1.4-beta');
define('PRESSPERMIT_VERSION', '3.1.4');

require_once(__DIR__ . '/includes/Core.php');
new \PublishPress\Permissions\Core();
Expand Down
7 changes: 4 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: restrict, access, permissions, cms, user, private, category, pages, privac
Requires at least: 4.9.7
Tested up to: 5.4
Requires PHP: 5.6.20
Stable tag: 3.1.2
Stable tag: 3.1.4
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -123,13 +123,14 @@ PublishPress Permissions creates and uses the following tables: pp_groups, pp_gr

== Upgrade Notice ==

= 3.1.3 =
= 3.1.4 =
Press Permit Core + PP extension users: download PublishPress Permissions Pro from publishpress.com instead of upgrading to this version.

== Changelog ==

= 3.1.4-beta =
= 3.1.4 - 23 Apr 2020 =
* Compat : PublishPress Revisions - Support suppression of Permissions metaboxes on Edit Revision screen
* Compat : Nested Pages - Error on Nav Menu edit

= 3.1.3 - 6 Apr 2020 =
* Fixed : Possible fatal error loading Permissions screens on a small percentage of installations
Expand Down

0 comments on commit 323b980

Please sign in to comment.