Skip to content

Commit

Permalink
Update descriptions to include monthly frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean90 committed Mar 27, 2023
1 parent 3eed04a commit 75d60a4
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
3 changes: 1 addition & 2 deletions digest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion inc/Setting/FrequencySetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
4 changes: 4 additions & 0 deletions tests/phpunit/tests/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ],
Expand Down

0 comments on commit 75d60a4

Please # to comment.