Skip to content

Commit

Permalink
Merge pull request #1236 from publishpress/release-4.0.34
Browse files Browse the repository at this point in the history
Release 4.0.34
  • Loading branch information
agapetry authored Nov 14, 2024
2 parents 4561044 + d94a777 commit 876d9df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
9 changes: 0 additions & 9 deletions classes/PublishPress/Permissions/PostSave.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ public static function actSaveItem($item_source, $post_id, $post)
return;
}

global $current_user;
$transient_name = "_saving_post_{$post_id}_{$current_user->ID}";

if (get_transient($transient_name)) {
return;
} else {
set_transient($transient_name, true, 5);
}

$saved_items[$post_id] = 1;

$is_new = self::isNewPost($post_id, $post);
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.33
* Version: 4.0.34
* 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.33');
define('PRESSPERMIT_VERSION', '4.0.34');

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, user, privacy, capabilities
Requires at least: 5.5
Tested up to: 6.7
Requires PHP: 7.2.5
Stable tag: 4.0.32
Stable tag: 4.0.34
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.34 - 14 Nov 2024 =
* Fixed : Changes to Permissions metaboxes in Post editor were not saved

= 4.0.33 - 13 Nov 2023 =
* Fixed: Warning for early execution of load_plugin_textdomain() in WP 6.7 #1227
* Fixed: WP 6.6 - Updating a page caused propagated permissions to be cleared under some configurations
Expand Down

0 comments on commit 876d9df

Please sign in to comment.