From 79997a811759f97aad22eddbf6a5a6283ce14e96 Mon Sep 17 00:00:00 2001 From: olatechpro Date: Tue, 13 Aug 2024 08:57:34 +0100 Subject: [PATCH] Update calendar default post types --- modules/calendar/calendar.php | 5 ++++- readme.txt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/calendar/calendar.php b/modules/calendar/calendar.php index fa7d31f0..9a816496 100644 --- a/modules/calendar/calendar.php +++ b/modules/calendar/calendar.php @@ -215,7 +215,10 @@ public function __construct() 'post_type_support' => 'pp_calendar', 'default_options' => [ 'enabled' => 'on', - 'post_types' => $this->pre_select_all_post_types(), + 'post_types' => [ + 'post' => 'on', + 'page' => 'off', + ], 'ics_subscription' => 'on', 'ics_subscription_public_visibility' => 'off', 'ics_secret_key' => wp_generate_password(), diff --git a/readme.txt b/readme.txt index a2038c2a..048d57c6 100644 --- a/readme.txt +++ b/readme.txt @@ -125,7 +125,7 @@ PublishPress Planner is based on the EditFlow plugin. It is easy for Edit Flow u The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -= [4.4.0] - 12 Aug 2024 = += [4.4.0] - 13 Aug 2024 = * Added : Add modal to Content Calendar and Content Overview screens, #1687 * Remove : Remove "Make Viewable" in Editorial Fields, #1636