=== Plugin Name ===
Contributors: virgial
Tags: notification,notify,email,user,password,moderator,postauthor,automatic updates,admin e-mail,switch
Requires at least: 4.0.0
Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TYG56SLWNG42N
Tested up to: 6.4.2
Stable tag: 1.8.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Disable or enable the WordPress notification e-mails (new user, changed password, automatic updates, etc.). Works perfectly in combination with a lot of other plugins!

== Description ==

With this plugin you can switch the different WordPress notification e-mails on and off, like options as the new user and password change notifications send by WordPress to the administrator and user. Works perfectly in combination with a lot of other plugins!

Watch this nice tut made by Robert Orzanna: 
[youtube https://www.youtube.com/watch?v=66UkQKgSFio]


**The options you can manage are:**

1. New user notification to admin
2. New user notification to user
3. Notify post author
4. Notify moderator
5. Password change notification to admin
6. Password change notification to user
7. E-mail address change notification to user
8. Forgotten password e-mail to user
9. Forgotten password e-mail to administrator
10. Automatic WordPress core update e-mail
11. Automatic WordPress plugin update e-mail
12. Automatic WordPress theme update e-mail
13. Send admin notifications to extra admin e-mail addresses *(1.7.0)*
14. Send an e-mail to administrators after a user requested to update his or her e-mail address *(1.7.0)*
15. Send an e-mail to administrators after a user successfully updated his or her e-mail address *(1.7.0)*
16. Multi-site support! Now you can manage your notification settings in one single environment *(1.8.0)*
17. Export and import settings *(1.8.0)*

The automatic core, plugin, and theme updates have a special built-in feature. When one of these options is disabled, successful e-mails don't get send out, but failed updates still will send an e-mail to the admin.

This version contains some nice new stuff. If you find any issues, let me know. If you like the new features, please be so kind to give this plugin a good rating! It will help me to keep up the good work for you :-)

Want regular updates? Feel free to support me with a small donation :-)


== Installation ==

1. Upload `manage-notification-emails.zip` via the plugins menu
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Use the settings-page to enable or disable sending of notifications


== Frequently Asked Questions ==

= Is it active right away? =

Yes, after activating you can go to the settings page and disable or enable the notification e-mails that suits you.

= Can I use this plugin for multi-site? =
Yes! starting from version 1.8.0 multi-site is supported.

= Disabling user notifications does not work =
Some other plugins also use their custom notifications which overwrite the core notifications of WordPress. To be sure, please first try the plugin without other plugins installed or at least temporarily disable them.

== Screenshots ==

1. Settings view: Core options.
2. Settings view: Available modules.
3. Settings view: Multi-site network settings.

== Upgrade Notice ==
If you're one of the early installers, than you'll be happy to see that de new user notification is now splitted in admin and user e-mail management.

== Changelog ==
= 1.8.6 =
FIXED: Medium vulnerability in settings module. Thanks to Wordfence for reporting this.
UPDATED: Lowered the priority to 99 in the filters fixing some issues where plugins overwrite the disabling of sending the e-mails.

== Changelog ==
= 1.8.5 =
UPDATED: Compatibility fix with WP 6.1+ where new user notifications are managed by filters.

= 1.8.4 =
UPDATED: Refactoring.

= 1.8.3 =
FIXED: (CSRF) Security fix. Special thanks to Muhammad Daffa (Patchstack Alliance) for reporting this.

= 1.8.2 =
FIXED: fixed an issue with automatic plugin update notification.
FIXED: fixed issues with not correct activating options in multisite environment.
UPDATED: language corrections.

= 1.8.0 =
ADDED: Multi-site support.
ADDED: Import and export of settings.
UPDATED: A lot of files are refactored and added some more comments along with it.

= 1.7.1 =
FIXED: Email automatic plugin update notification to admin sometimes still send out.

= 1.7.0 =
UPGRADED: Refactored the plugin and added a more suitable modular system for adding new features.
ADDED: Send admin notifications to extra admin e-mail addresses
ADDED: Send an e-mail to administrators after a user requested to update his or her e-mail address
ADDED: Send an e-mail to administrators after a user successfully updated his or her e-mail address

= 1.6.1 =
FIXED: Email automatic plugin update notification to admin sometimes still send out.
= 1.6.0 =
ADDED: Automatic WordPress plugin, and theme update e-mail options.

= 1.5.1 = 
FIXED: php-notice for missing $deprecated variable.
= 1.5.0 =
UPGRADED: Upgraded the pluggable functions file. Fixing the missing PassWordHash Class bug.

= 1.4.2 =
FIXED: Loading local language.

= 1.4.1 =
ADDED: Manage sending e-mail after a successful automatic WordPress core update to administrators. E-mails about failed updates will always be sent to the administrators and will not be disabled.


= 1.4.0 =
ADDED: Multi-language support

= 1.3.0 =
ADDED: passing through the $notify variable, available sinds 4.6. This is for other plugins to override default sending to admin or user. Only useful if sending within this plugin is activated. 
UPDATED: updated with the newer pluggable send functions of WordPress 4.7.
FIXED: Missing blogname in user email

= 1.2.0 =
ADDED: Manage sending password forgot e-mail to registered user.
ADDED: Manage sending password forgot e-mail to administrator.

= 1.1.0 =
FIXED: Checking password change notification to admin now works.
ADDED: Splitted the manage option for new user notification e-mail into user and admin e-mail.
UPDATED: Clarified some comments and fixed some typo's.

= 1.0 =
* It all starts here.