Skip to content

Commit

Permalink
Merge pull request #1088 from publishpress/release-4.0.22
Browse files Browse the repository at this point in the history
Release 4.0.22
  • Loading branch information
agapetry authored Apr 26, 2024
2 parents dcb5ca6 + 95dadd5 commit 85cfced
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static function fltPageParent($parent_id, $post_type = '')
}

if ($parent_id) {
if (defind('PRESSPERMIT_OWN_DESCENDENT_CHECK')) {
if (defined('PRESSPERMIT_OWN_DESCENDENT_CHECK')) {
$descendants = self::getPageDescendantIds($post_id);

if (in_array($parent_id, $descendants)) {
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: 4.0.21
* Version: 4.0.22
* Text Domain: press-permit-core
* Domain Path: /languages/
* Requires at least: 5.5
Expand Down Expand Up @@ -202,7 +202,7 @@ function presspermit_load() {
return;
}

define('PRESSPERMIT_VERSION', '4.0.21');
define('PRESSPERMIT_VERSION', '4.0.22');

if (!defined('PRESSPERMIT_READ_PUBLIC_CAP')) {
define('PRESSPERMIT_READ_PUBLIC_CAP', 'read');
Expand Down
5 changes: 4 additions & 1 deletion 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: 5.5
Tested up to: 6.4
Requires PHP: 7.2.5
Stable tag: 4.0.21
Stable tag: 4.0.22
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -240,6 +240,9 @@ Yes, we use the phrase "publishpress-ppcore-install" to share install links. You

== Changelog ==

= 4.0.22 - 26 Apr 2024 =
* Fixed : Fatal error updating a subpage

= 4.0.21 - 25 Apr 2024 =
* Fixed : Gutenberg Editor - empty categories were unselectable on some installations
* Change : Option to restore previous behavior by suppressing front end term filtering under some conditions
Expand Down

0 comments on commit 85cfced

Please sign in to comment.