From 66f8d22df6d4ae1b5e150055c70424e4b8c1f5bb Mon Sep 17 00:00:00 2001 From: olatechpro Date: Tue, 23 Jul 2024 14:23:04 +0100 Subject: [PATCH 01/13] Disable Editorial Comments and Fields for new sites #1600 --- modules/editorial-comments/editorial-comments.php | 2 +- modules/editorial-metadata/editorial-metadata.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/editorial-comments/editorial-comments.php b/modules/editorial-comments/editorial-comments.php index 5d7aa6c1..903abf2b 100644 --- a/modules/editorial-comments/editorial-comments.php +++ b/modules/editorial-comments/editorial-comments.php @@ -67,7 +67,7 @@ public function __construct() 'icon_class' => 'dashicons dashicons-admin-comments', 'slug' => 'editorial-comments', 'default_options' => [ - 'enabled' => 'on', + 'enabled' => 'off', 'post_types' => [ 'post' => 'on', 'page' => 'on', diff --git a/modules/editorial-metadata/editorial-metadata.php b/modules/editorial-metadata/editorial-metadata.php index e8808298..f2998115 100644 --- a/modules/editorial-metadata/editorial-metadata.php +++ b/modules/editorial-metadata/editorial-metadata.php @@ -203,6 +203,8 @@ public function init() */ public function install() { + global $publishpress; + // Our default editorial fieldss $default_metadata = [ [ @@ -230,6 +232,8 @@ public function install() } $this->setDefaultCapabilities(); + + $publishpress->update_module_option($this->module->name, 'enabled', 'off'); } /** From b909b5009da7eb7791dc5a5f0d92b0fd31365321 Mon Sep 17 00:00:00 2001 From: olatechpro Date: Tue, 23 Jul 2024 14:36:52 +0100 Subject: [PATCH 02/13] Update plugin description #1612 --- publishpress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publishpress.php b/publishpress.php index 2ac4c815..692d8d44 100644 --- a/publishpress.php +++ b/publishpress.php @@ -2,7 +2,7 @@ /** * Plugin Name: PublishPress Planner * Plugin URI: https://publishpress.com/ - * Description: PublishPress Planner helps you plan and publish content with WordPress. Features include a content calendar, notifications, and custom statuses. + * Description: PublishPress Planner helps you plan and publish content inside WordPress. Features include a content calendar, kanban board, and notifications. * Version: 4.3.0 * Author: PublishPress * Author URI: https://publishpress.com From 19307c6b453da3cf809059d6095a03e41c3fe161 Mon Sep 17 00:00:00 2001 From: olatechpro Date: Tue, 23 Jul 2024 14:45:48 +0100 Subject: [PATCH 03/13] Update footer #1656 --- modules/settings/views/footer-base.html.php | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/modules/settings/views/footer-base.html.php b/modules/settings/views/footer-base.html.php index c3fbd30b..8208d50d 100644 --- a/modules/settings/views/footer-base.html.php +++ b/modules/settings/views/footer-base.html.php @@ -18,26 +18,16 @@