Version Description
FIXED: Email automatic plugin update notification to admin sometimes still send out.
Download this release
Release Info
Developer | Virgial |
Plugin | Manage Notification E-mails |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7.0 to 1.7.1
- languages/manage-notification-emails-nl_NL.po +9 -9
- languages/manage-notification-emails.pot +5 -5
- manage-notification-emails.php +3 -3
- modules/pluggable/pluggable-functions-1.3.php +1 -1
- modules/pluggable/pluggable-functions-1.5.php +7 -6
- modules/settings-page/views/settings.php +3 -3
- readme.txt +2 -2
languages/manage-notification-emails-nl_NL.po
CHANGED
@@ -20,16 +20,16 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
#: modules/settings-page/views/settings.php:26
|
23 |
-
msgid "Automatic
|
24 |
-
msgstr "Automatische
|
25 |
|
26 |
#: modules/settings-page/views/settings.php:27
|
27 |
-
msgid "Automatic
|
28 |
-
msgstr "Automatische
|
29 |
|
30 |
#: modules/settings-page/views/settings.php:28
|
31 |
-
msgid "Automatic
|
32 |
-
msgstr "Automatische
|
33 |
|
34 |
#: modules/settings-page/views/extra.php:10
|
35 |
msgid "Available Manage Notification E-mail Modules"
|
@@ -232,7 +232,7 @@ msgstr ""
|
|
232 |
|
233 |
#: modules/settings-page/views/settings.php:26
|
234 |
msgid ""
|
235 |
-
"Sends an e-mail after a successful automatic
|
236 |
"administrators. E-mails about failed updates will always be sent to the "
|
237 |
"administrators and cannot be disabled."
|
238 |
msgstr ""
|
@@ -265,10 +265,10 @@ msgstr ""
|
|
265 |
#. Description of the plugin
|
266 |
msgid ""
|
267 |
"This plugin gives you the option to disable some of the notification e-mails "
|
268 |
-
"send by
|
269 |
msgstr ""
|
270 |
"Deze plugin geeft de mogelijkheid om sommige notificatie e-mails verstuurd "
|
271 |
-
"door
|
272 |
|
273 |
#: modules/user-email-changed.php:39
|
274 |
msgid "User changed (confirmed) e-mail notification to admin"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
#: modules/settings-page/views/settings.php:26
|
23 |
+
msgid "Automatic WordPress core update e-mail"
|
24 |
+
msgstr "Automatische WordPress core update e-mail"
|
25 |
|
26 |
#: modules/settings-page/views/settings.php:27
|
27 |
+
msgid "Automatic WordPress plugin update e-mail"
|
28 |
+
msgstr "Automatische WordPress plugin update e-mail"
|
29 |
|
30 |
#: modules/settings-page/views/settings.php:28
|
31 |
+
msgid "Automatic WordPress theme update e-mail"
|
32 |
+
msgstr "Automatische WordPress thema update e-mail"
|
33 |
|
34 |
#: modules/settings-page/views/extra.php:10
|
35 |
msgid "Available Manage Notification E-mail Modules"
|
232 |
|
233 |
#: modules/settings-page/views/settings.php:26
|
234 |
msgid ""
|
235 |
+
"Sends an e-mail after a successful automatic WordPress core update to "
|
236 |
"administrators. E-mails about failed updates will always be sent to the "
|
237 |
"administrators and cannot be disabled."
|
238 |
msgstr ""
|
265 |
#. Description of the plugin
|
266 |
msgid ""
|
267 |
"This plugin gives you the option to disable some of the notification e-mails "
|
268 |
+
"send by WordPress. It's a simple plugin but effective."
|
269 |
msgstr ""
|
270 |
"Deze plugin geeft de mogelijkheid om sommige notificatie e-mails verstuurd "
|
271 |
+
"door WordPress aan of uit te zetten. Het is simpel maar effectief."
|
272 |
|
273 |
#: modules/user-email-changed.php:39
|
274 |
msgid "User changed (confirmed) e-mail notification to admin"
|
languages/manage-notification-emails.pot
CHANGED
@@ -21,15 +21,15 @@ msgstr ""
|
|
21 |
"X-Generator: Loco https://localise.biz/"
|
22 |
|
23 |
#: modules/settings-page/views/settings.php:26
|
24 |
-
msgid "Automatic
|
25 |
msgstr ""
|
26 |
|
27 |
#: modules/settings-page/views/settings.php:27
|
28 |
-
msgid "Automatic
|
29 |
msgstr ""
|
30 |
|
31 |
#: modules/settings-page/views/settings.php:28
|
32 |
-
msgid "Automatic
|
33 |
msgstr ""
|
34 |
|
35 |
#: modules/settings-page/views/extra.php:10
|
@@ -207,7 +207,7 @@ msgstr ""
|
|
207 |
|
208 |
#: modules/settings-page/views/settings.php:26
|
209 |
msgid ""
|
210 |
-
"Sends an e-mail after a successful automatic
|
211 |
"administrators. E-mails about failed updates will always be sent to the "
|
212 |
"administrators and cannot be disabled."
|
213 |
msgstr ""
|
@@ -231,7 +231,7 @@ msgstr ""
|
|
231 |
#. Description of the plugin
|
232 |
msgid ""
|
233 |
"This plugin gives you the option to disable some of the notification e-mails "
|
234 |
-
"send by
|
235 |
msgstr ""
|
236 |
|
237 |
#: modules/user-email-changed.php:39
|
21 |
"X-Generator: Loco https://localise.biz/"
|
22 |
|
23 |
#: modules/settings-page/views/settings.php:26
|
24 |
+
msgid "Automatic WordPress core update e-mail"
|
25 |
msgstr ""
|
26 |
|
27 |
#: modules/settings-page/views/settings.php:27
|
28 |
+
msgid "Automatic WordPress plugin update e-mail"
|
29 |
msgstr ""
|
30 |
|
31 |
#: modules/settings-page/views/settings.php:28
|
32 |
+
msgid "Automatic WordPress theme update e-mail"
|
33 |
msgstr ""
|
34 |
|
35 |
#: modules/settings-page/views/extra.php:10
|
207 |
|
208 |
#: modules/settings-page/views/settings.php:26
|
209 |
msgid ""
|
210 |
+
"Sends an e-mail after a successful automatic WordPress core update to "
|
211 |
"administrators. E-mails about failed updates will always be sent to the "
|
212 |
"administrators and cannot be disabled."
|
213 |
msgstr ""
|
231 |
#. Description of the plugin
|
232 |
msgid ""
|
233 |
"This plugin gives you the option to disable some of the notification e-mails "
|
234 |
+
"send by WordPress. It's a simple plugin but effective."
|
235 |
msgstr ""
|
236 |
|
237 |
#: modules/user-email-changed.php:39
|
manage-notification-emails.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: Manage Notification E-mails
|
4 |
Plugin URI: https://www.freeamigos.nl/wp-plugins/manage-notification-emails/1.7.0
|
5 |
-
Description: This plugin gives you the option to disable some of the notification e-mails send by
|
6 |
-
Version: 1.7.
|
7 |
Author: Virgial Berveling
|
8 |
Author URI: https://www.freeamigos.nl
|
9 |
Text Domain: manage-notification-emails
|
@@ -59,7 +59,7 @@ License: GPLv2
|
|
59 |
|
60 |
if (!defined('ABSPATH')) die();
|
61 |
|
62 |
-
define( 'FA_MNE_VERSION', '1.7.
|
63 |
define( 'FA_MNE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
64 |
define( 'FA_MNE_PLUGIN_DIR', untrailingslashit( dirname( __FILE__ ) ) );
|
65 |
define( 'FA_MNE_SLUG', 'manage-notification-emails' );
|
2 |
/*
|
3 |
Plugin Name: Manage Notification E-mails
|
4 |
Plugin URI: https://www.freeamigos.nl/wp-plugins/manage-notification-emails/1.7.0
|
5 |
+
Description: This plugin gives you the option to disable some of the notification e-mails send by WordPress. It's a simple plugin but effective.
|
6 |
+
Version: 1.7.1
|
7 |
Author: Virgial Berveling
|
8 |
Author URI: https://www.freeamigos.nl
|
9 |
Text Domain: manage-notification-emails
|
59 |
|
60 |
if (!defined('ABSPATH')) die();
|
61 |
|
62 |
+
define( 'FA_MNE_VERSION', '1.7.1' );
|
63 |
define( 'FA_MNE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
64 |
define( 'FA_MNE_PLUGIN_DIR', untrailingslashit( dirname( __FILE__ ) ) );
|
65 |
define( 'FA_MNE_SLUG', 'manage-notification-emails' );
|
modules/pluggable/pluggable-functions-1.3.php
CHANGED
@@ -151,7 +151,7 @@ endif;
|
|
151 |
|
152 |
if (empty($famne_options['auto_core_update_send_email']) && !function_exists('fa_dont_sent_auto_core_update_emails') ) :
|
153 |
/**
|
154 |
-
* Send email when
|
155 |
*
|
156 |
*/
|
157 |
//echo "auto_core_update_send_email off";exit;
|
151 |
|
152 |
if (empty($famne_options['auto_core_update_send_email']) && !function_exists('fa_dont_sent_auto_core_update_emails') ) :
|
153 |
/**
|
154 |
+
* Send email when WordPress automatic updated.
|
155 |
*
|
156 |
*/
|
157 |
//echo "auto_core_update_send_email off";exit;
|
modules/pluggable/pluggable-functions-1.5.php
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
/**
|
3 |
|
4 |
STOP SENDING NOTIFICATION MAILS TO THE USERS
|
|
|
|
|
5 |
version 1.5.2
|
6 |
added: Email automatic plugin update notification to admin option
|
7 |
added: Email automatic theme update notification to admin option
|
@@ -158,7 +160,7 @@ endif;
|
|
158 |
|
159 |
if (empty($famne_options['auto_core_update_send_email']) && !function_exists('fa_dont_sent_auto_core_update_emails') ) :
|
160 |
/**
|
161 |
-
* Send email when
|
162 |
*
|
163 |
*/
|
164 |
//echo "auto_core_update_send_email off";exit;
|
@@ -346,11 +348,10 @@ if (empty($famne_options['auto_plugin_update_send_email']) ) :
|
|
346 |
//echo "auto_plugin_update_send_email off";
|
347 |
function fa_auto_plugin_update_send_email($notifications_enabled,$update_results_plugins)
|
348 |
{
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
}
|
354 |
}
|
355 |
return $notifications_enabled;
|
356 |
}
|
2 |
/**
|
3 |
|
4 |
STOP SENDING NOTIFICATION MAILS TO THE USERS
|
5 |
+
version 1.5.3
|
6 |
+
fixed: Email automatic plugin update notification to admin option
|
7 |
version 1.5.2
|
8 |
added: Email automatic plugin update notification to admin option
|
9 |
added: Email automatic theme update notification to admin option
|
160 |
|
161 |
if (empty($famne_options['auto_core_update_send_email']) && !function_exists('fa_dont_sent_auto_core_update_emails') ) :
|
162 |
/**
|
163 |
+
* Send email when WordPress automatic updated.
|
164 |
*
|
165 |
*/
|
166 |
//echo "auto_core_update_send_email off";exit;
|
348 |
//echo "auto_plugin_update_send_email off";
|
349 |
function fa_auto_plugin_update_send_email($notifications_enabled,$update_results_plugins)
|
350 |
{
|
351 |
+
$notifications_enabled = false;
|
352 |
+
foreach ( $update_results_plugins as $update_result ) {
|
353 |
+
// do we have a failed update?
|
354 |
+
if ( true !== $update_result->result ) $notifications_enabled = true;
|
|
|
355 |
}
|
356 |
return $notifications_enabled;
|
357 |
}
|
modules/settings-page/views/settings.php
CHANGED
@@ -23,9 +23,9 @@ global $famne_options;
|
|
23 |
print_checkbox($famne_options,'wp_new_user_notification_to_admin', __('New user notification to admin','manage-notification-emails'), __('Sends an e-mail to the site admin after a new user is registered.','manage-notification-emails'));
|
24 |
print_checkbox($famne_options,'wp_password_change_notification', __('Password change notification to admin','manage-notification-emails'), __('Send e-mail to the blog admin of a user changing his or her password.','manage-notification-emails'));
|
25 |
|
26 |
-
print_checkbox($famne_options,'auto_core_update_send_email', __('automatic
|
27 |
-
print_checkbox($famne_options,'auto_plugin_update_send_email', __('Automatic
|
28 |
-
print_checkbox($famne_options,'auto_theme_update_send_email', __('Automatic
|
29 |
print_end_table_form();
|
30 |
?>
|
31 |
</div>
|
23 |
print_checkbox($famne_options,'wp_new_user_notification_to_admin', __('New user notification to admin','manage-notification-emails'), __('Sends an e-mail to the site admin after a new user is registered.','manage-notification-emails'));
|
24 |
print_checkbox($famne_options,'wp_password_change_notification', __('Password change notification to admin','manage-notification-emails'), __('Send e-mail to the blog admin of a user changing his or her password.','manage-notification-emails'));
|
25 |
|
26 |
+
print_checkbox($famne_options,'auto_core_update_send_email', __('automatic WordPress core update e-mail','manage-notification-emails'), __('Sends an e-mail after a successful automatic WordPress core update to administrators. E-mails about failed updates will always be sent to the administrators and cannot be disabled.','manage-notification-emails'));
|
27 |
+
print_checkbox($famne_options,'auto_plugin_update_send_email', __('Automatic WordPress plugin update e-mail','manage-notification-emails'), __('Sends an e-mail after a successful automatic plugin update to administrators. E-mails about failed plugin updates will always be sent to the administrators','manage-notification-emails'));
|
28 |
+
print_checkbox($famne_options,'auto_theme_update_send_email', __('Automatic WordPress theme update e-mail','manage-notification-emails'), __('Sends an e-mail after a successful automatic theme update to administrators. E-mails about failed theme updates will always be sent to the administrators','manage-notification-emails'));
|
29 |
print_end_table_form();
|
30 |
?>
|
31 |
</div>
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Plugin Name ===
|
2 |
-
Contributors:
|
3 |
Tags: notification,notify,email,user,password,moderator,postauthor,automatic updates, admin e-mail,switch
|
4 |
Requires at least: 4.0.0
|
5 |
Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TYG56SLWNG42N
|
6 |
-
Tested up to: 5.
|
7 |
Stable tag: 1.6.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
1 |
=== Plugin Name ===
|
2 |
+
Contributors: virgial
|
3 |
Tags: notification,notify,email,user,password,moderator,postauthor,automatic updates, admin e-mail,switch
|
4 |
Requires at least: 4.0.0
|
5 |
Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TYG56SLWNG42N
|
6 |
+
Tested up to: 5.7
|
7 |
Stable tag: 1.6.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|