├── LICENSE ├── README.md ├── control-wp-core-emails.php ├── lib ├── global.php └── settings.php ├── readme.txt └── screenshot-1.png /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Andrew Norcross 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Control WP Core Emails 2 | ====================== 3 | 4 | **Contributors:** norcross 5 | 6 | **Donate link:** http://andrewnorcross.com/donate 7 | 8 | **Tags:** email, core 9 | 10 | **Requires at least:** 4.0 11 | 12 | **Tested up to:** 4.6 13 | 14 | **Stable tag:** 0.0.1 15 | 16 | 17 | ### Description ### 18 | 19 | Control the emails sent by the WordPress auto-update process. Disable which update result(s) are excluded from email sending. 20 | 21 | 22 | ### Installation ### 23 | 24 | This section describes how to install the plugin and get it working. 25 | 26 | 1. Upload `control-wp-core-emails` to the `/wp-content/plugins/` directory. 27 | 1. Activate the plugin through the 'Plugins' menu in WordPress. 28 | 1. Go to the General Settings section and choose the emails to suppress. 29 | 30 | ### Frequently Asked Questions ### 31 | 32 | #### Why do I need this? #### 33 | 34 | Maybe you don't. But this is for people who don't want emails sent on site updates. It can get sort of unruly when you have a lot of sites. And because emails are annoying. 35 | 36 | #### I would like to edit what the update email contains. Can I do that? #### 37 | 38 | Probably, but not with this plugin. This is *only* intended to suppress the emails sent, not modify them in any way. 39 | 40 | #### I have a question / bug report / feature request #### 41 | 42 | Best place for them is on [Github](https://github.com/norcross/control-wp-core-emails/). 43 | 44 | 45 | ### Screenshots ### 46 | 47 |  48 | 49 | 50 | ### Changelog ### 51 | 52 | **0.0.1** 53 | * Initial release 54 | 55 | 56 | ### Upgrade Notice ### 57 | 58 | **0.0.1** 59 | Initial release 60 | -------------------------------------------------------------------------------- /control-wp-core-emails.php: -------------------------------------------------------------------------------- 1 | init(); 77 | -------------------------------------------------------------------------------- /lib/global.php: -------------------------------------------------------------------------------- 1 | init(); 73 | -------------------------------------------------------------------------------- /lib/settings.php: -------------------------------------------------------------------------------- 1 | '; 57 | 58 | // Now set up the table with each value. 59 | echo '
'; 66 | echo ''; 67 | echo ' | '; 68 | 69 | // The input field. 70 | echo '';
71 |
72 | echo '';
75 |
76 | echo ' '; 77 | 78 | echo ''; 81 | 82 | echo ' '; 83 | 84 | echo ''; 87 | 88 | echo ' '; 89 | 90 | echo ''; 93 | 94 | echo ' '; 95 | 96 | // Add our intro content. 97 | echo ' ' . esc_html__( 'Select the notification emails you want to suppress.', 'control-wp-core-emails' ) . ' '; 98 | 99 | echo ' | ';
100 |
101 | echo '
---|