diff --git a/composer.json b/composer.json index 2bcae64..6509549 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "wearerequired/digest", - "description": "Get a daily/weekly digest of what's happening on your site instead of receiving a single email each time.", + "description": "Get a daily/weekly/monthly digest of what's happening on your site instead of receiving a single email each time.", "license": "GPL-2.0-or-later", "type": "wordpress-plugin", "authors": [ diff --git a/digest.php b/digest.php index 52e47a8..4d51c79 100644 --- a/digest.php +++ b/digest.php @@ -2,8 +2,7 @@ /** * Plugin Name: Digest Notifications * Plugin URI: https://required.com/services/wordpress-plugins/digest-notifications/ - * Description: Get a daily or weekly digest of what's happening on your site - * instead of receiving a single email each time. + * Description: Get a daily, weekly, or monthly digest of what's happening on your site instead of receiving a single email each time. * Version: 3.0.0 * Requires at least: 6.0 * Requires PHP: 7.4 diff --git a/inc/Setting/FrequencySetting.php b/inc/Setting/FrequencySetting.php index 94cea0e..d741a06 100644 --- a/inc/Setting/FrequencySetting.php +++ b/inc/Setting/FrequencySetting.php @@ -50,7 +50,7 @@ public function add_settings_fields() { 'digest_notifications', __( 'Email Notifications', 'digest' ), function () { - esc_html_e( "You get a daily or weekly digest of what's happening on your site. Here you can configure its frequency.", 'digest' ); + esc_html_e( "You get a daily, weekly, or monthly digest of what's happening on your site. Here you can configure its frequency.", 'digest' ); }, 'general' ); diff --git a/package.json b/package.json index 686aa44..8151fc2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "digest", "title": "Digest Notifications", - "description": "Get a daily/weekly digest of what's happening on your site instead of receiving a single email each time.", + "description": "Get a daily/weekly/monthly digest of what's happening on your site instead of receiving a single email each time.", "version": "0.0.0", "private": true, "homepage": "https://github.com/wearerequired/digest", diff --git a/readme.md b/readme.md index 8b82cbb..0b78801 100644 --- a/readme.md +++ b/readme.md @@ -8,13 +8,13 @@ Stable tag: 2.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Get a daily or weekly digest of what's happening on your site instead of receiving a single email each time. +Get a daily, weekly, or monthly digest of what's happening on your site instead of receiving a single email each time. ## Description ## When you have lots of new user sign-ups or comments every day, it’s very distracting to receive a single email for each new event. -With this plugin you get a daily or weekly digest of your website’s activity. The digest includes the following events: +With this plugin you get a daily, weekly, or monthly digest of your website’s activity. The digest includes the following events: * New Core Updates * New comments that need to be moderated (depending on your settings under 'Settings' -> 'Discussion') diff --git a/tests/phpunit/tests/Settings.php b/tests/phpunit/tests/Settings.php index 47adc34..9baf317 100644 --- a/tests/phpunit/tests/Settings.php +++ b/tests/phpunit/tests/Settings.php @@ -80,6 +80,10 @@ public function data_sanitize_frequency_option() { [ 'period' => 'daily', 'hour' => 1, 'day' => 1 ], [ 'period' => 'daily', 'hour' => 1, 'day' => 1 ], ], + [ + [ 'period' => 'monthly', 'hour' => 1, 'day' => 1 ], + [ 'period' => 'monthly', 'hour' => 1, 'day' => 1 ], + ], [ [ 'period' => 'weekly', 'hour' => 1, 'day' => 1 ], [ 'period' => 'foo', 'hour' => 1, 'day' => 1 ],