From 10e79031e1addcddc833c6e2930461d86fb7823c Mon Sep 17 00:00:00 2001 From: Kevin Behrens <43488774+agapetry@users.noreply.github.com> Date: Mon, 20 Apr 2020 17:33:10 -0400 Subject: [PATCH 1/2] Vendor library: eliminate possibility of fatal error on Top Bar load This change was applied in response to an unexplained report of ongoing fatal error, following another update which corrected the same issue by eliminating DIRECTORY_SEPARATOR usage. --- .../wordpress-version-notices/src/Template/TemplateLoader.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor/publishpress/wordpress-version-notices/src/Template/TemplateLoader.php b/vendor/publishpress/wordpress-version-notices/src/Template/TemplateLoader.php index 25d0bed4..90d1c66a 100644 --- a/vendor/publishpress/wordpress-version-notices/src/Template/TemplateLoader.php +++ b/vendor/publishpress/wordpress-version-notices/src/Template/TemplateLoader.php @@ -58,7 +58,8 @@ private function load($moduleName, $templateName, $context = [], $return = false $templatePath = $this->templatesPath . '/' . $moduleName . '/' . $templateName . '.php'; if (!file_exists($templatePath)) { - throw new TemplateNotFoundException('Template file not found'); + //throw new TemplateNotFoundException('Template file not found'); + return false; } if ($return) { From 4bbeec8640f53ff5ac9251bea6a43a2b75d1efef Mon Sep 17 00:00:00 2001 From: Kevin Behrens <43488774+agapetry@users.noreply.github.com> Date: Mon, 20 Apr 2020 17:43:11 -0400 Subject: [PATCH 2/2] Tag version 3.1.3 --- press-permit-core.php | 4 ++-- readme.txt | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/press-permit-core.php b/press-permit-core.php index 60398f71..e6e20c50 100644 --- a/press-permit-core.php +++ b/press-permit-core.php @@ -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.2 + * Version: 3.1.3 * Text Domain: press-permit-core * Domain Path: /languages/ * Min WP Version: 4.9.7 @@ -91,7 +91,7 @@ function() return; } - define('PRESSPERMIT_VERSION', '3.1.2'); + define('PRESSPERMIT_VERSION', '3.1.3'); require_once(__DIR__ . '/includes/Core.php'); new \PublishPress\Permissions\Core(); diff --git a/readme.txt b/readme.txt index 73845d9c..7f2f6048 100644 --- a/readme.txt +++ b/readme.txt @@ -123,11 +123,14 @@ PublishPress Permissions creates and uses the following tables: pp_groups, pp_gr == Upgrade Notice == -= 3.1.2 = += 3.1.3 = Press Permit Core + PP extension users: download PublishPress Permissions Pro from publishpress.com instead of upgrading to this version. == Changelog == += 3.1.3 - 6 Apr 2020 = +* Fixed : Possible fatal error loading Permissions screens on a small percentage of installations + = 3.1.2 - 2 Apr 2020 = * Fixed : Limited editors with editing permissions in limited categories lost access to new post when autosave assigned inaccessible default category * Fixed : Possible fatal error on Permissions screens on a small percentage of installations