From 90cec756ebd4552479a3dca24bb105b9cb2f4f4d Mon Sep 17 00:00:00 2001 From: Kevin Behrens <43488774+agapetry@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:06:22 -0500 Subject: [PATCH] Permissions metabox value not saved Fixes #1234 --- classes/PublishPress/Permissions/PostSave.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/classes/PublishPress/Permissions/PostSave.php b/classes/PublishPress/Permissions/PostSave.php index 00405d5e..62efe74f 100644 --- a/classes/PublishPress/Permissions/PostSave.php +++ b/classes/PublishPress/Permissions/PostSave.php @@ -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);