From 0b0c59f85a7221bf1081c3cb6172601df779d94b Mon Sep 17 00:00:00 2001 From: olatechpro Date: Thu, 23 May 2024 05:46:55 +0100 Subject: [PATCH] Tidy up the "Features" screen #1649 --- .../async-notifications.php | 1 + .../improved-notifications.php | 1 + modules/modules-settings/modules-settings.php | 36 ++----------------- 3 files changed, 4 insertions(+), 34 deletions(-) diff --git a/modules/async-notifications/async-notifications.php b/modules/async-notifications/async-notifications.php index bbe332b2..7b90a823 100644 --- a/modules/async-notifications/async-notifications.php +++ b/modules/async-notifications/async-notifications.php @@ -78,6 +78,7 @@ public function __construct() 'enabled' => 'on', ], 'options_page' => false, + 'autoload' => true, ]; // Apply a filter to the default options diff --git a/modules/improved-notifications/improved-notifications.php b/modules/improved-notifications/improved-notifications.php index e4c60ca1..ea89f8dc 100644 --- a/modules/improved-notifications/improved-notifications.php +++ b/modules/improved-notifications/improved-notifications.php @@ -104,6 +104,7 @@ public function __construct() 'duplicated_notification_threshold' => Notification::DEFAULT_DUPLICATED_NOTIFICATION_THRESHOLD_IN_MINUTES, ], 'notification_options' => true, + 'autoload' => true, ]; // Apply a filter to the default options diff --git a/modules/modules-settings/modules-settings.php b/modules/modules-settings/modules-settings.php index d76d40fd..45720cac 100644 --- a/modules/modules-settings/modules-settings.php +++ b/modules/modules-settings/modules-settings.php @@ -237,44 +237,12 @@ public function print_configure_view() echo ($mod_data->options->enabled == 'on') ? "checked=\"checked\"" : ""; ?> type="checkbox">    slug === 'notifications') { - echo esc_html_e('Basic Notifications', 'publishpress'); - } else { - echo esc_html($mod_data->title); - } ?> + echo esc_html($mod_data->title); + ?>
- - -
-
- ', - '', - '', - '' - ); - } else { - printf( - esc_html__('For custom post statuses, install the %1$sPublishPress Statuses%2$s plugin. %3$sLearn more...%4$s', 'publishpress'), - '', - '', - '', - '' - ); - } - ?> -
-