Changeset 2590251
- Timestamp:
- 08/28/2021 01:39:02 PM (4 years ago)
- Location:
- auto-update-wp-and-disable-e-mail-notifications
- Files:
-
- 3 added
- 2 edited
-
tags/1.1 (added)
-
tags/1.1/readme.txt (added)
-
tags/1.1/wd-auto-update.php (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wd-auto-update.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
auto-update-wp-and-disable-e-mail-notifications/trunk/readme.txt
r2590223 r2590251 33 33 == Changelog == 34 34 35 = Version 1.1 | Aug, 28 2021 = 36 * Added auto Core updates for development, minor & major versions 37 35 38 = Version 1.0 | Aug, 25 2021 = 36 39 * Enable auto updates. -
auto-update-wp-and-disable-e-mail-notifications/trunk/wd-auto-update.php
r2588614 r2590251 4 4 * Plugin URI: https://wilbrink.design/wp-plugins/wd-auto-update 5 5 * Description: Due to security requirements it is very important to keep your WordPress site up-to-date. This plug-in will auto update WordPress Core, Themes, Plug-ins and Translations. E-mail notifications about WordPress updates will be disabled. 6 * Version: 1. 06 * Version: 1.1 7 7 * Author: Wilbrink Design 8 8 * Author URI: https://wilbrink.design 9 9 */ 10 10 11 / / Enable auto update for WordPress12 add_filter( 'automatic_updater_disabled', '__return_false');11 /* Enable auto update for WordPress */ 12 add_filter('automatic_updater_disabled', '__return_false'); 13 13 14 // Auto update WordPress Core and disable e-mail notification 15 add_filter( 'auto_update_core', '__return_true' ); 16 add_filter( 'auto_core_update_send_email', '__return_false' ); 14 /* Auto update WordPress Core and disable e-mail notification */ 15 add_filter('auto_update_core', '__return_true'); 16 add_filter('allow_dev_auto_core_updates', '__return_true'); 17 add_filter('allow_minor_auto_core_updates', '__return_true'); 18 add_filter('allow_major_auto_core_updates', '__return_true'); 19 add_filter('auto_core_update_send_email', '__return_false'); 17 20 18 / / Auto update WordPress Plug-ins and disable e-mail notification19 add_filter( 'auto_update_plugin', '__return_true');20 add_filter( 'auto_plugin_update_send_email', '__return_false');21 /* Auto update WordPress Plug-ins and disable e-mail notification */ 22 add_filter('auto_update_plugin', '__return_true'); 23 add_filter('auto_plugin_update_send_email', '__return_false'); 21 24 22 / / Auto update WordPress Themes and disable e-mail notification23 add_filter( 'auto_update_theme', '__return_true');24 add_filter( 'auto_theme_update_send_email', '__return_false');25 /* Auto update WordPress Themes and disable e-mail notification */ 26 add_filter('auto_update_theme', '__return_true'); 27 add_filter('auto_theme_update_send_email', '__return_false'); 25 28 26 / / Auto update WordPress Translations27 add_filter( 'auto_update_translation', '__return_true');29 /* Auto update WordPress Translations */ 30 add_filter('auto_update_translation', '__return_true');
Note: See TracChangeset
for help on using the changeset viewer.