Plugin Directory

Changeset 2590251


Ignore:
Timestamp:
08/28/2021 01:39:02 PM (4 years ago)
Author:
wilbrinkdesign
Message:

version 1.1

Location:
auto-update-wp-and-disable-e-mail-notifications
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • auto-update-wp-and-disable-e-mail-notifications/trunk/readme.txt

    r2590223 r2590251  
    3333== Changelog ==
    3434
     35= Version 1.1 | Aug, 28 2021 =
     36* Added auto Core updates for development, minor & major versions
     37
    3538= Version 1.0 | Aug, 25 2021 =
    3639* Enable auto updates.
  • auto-update-wp-and-disable-e-mail-notifications/trunk/wd-auto-update.php

    r2588614 r2590251  
    44 * Plugin URI: https://wilbrink.design/wp-plugins/wd-auto-update
    55 * 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.0
     6 * Version: 1.1
    77 * Author: Wilbrink Design
    88 * Author URI: https://wilbrink.design
    99 */
    1010
    11 // Enable auto update for WordPress
    12 add_filter( 'automatic_updater_disabled', '__return_false' );
     11/* Enable auto update for WordPress */
     12add_filter('automatic_updater_disabled', '__return_false');
    1313
    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 */
     15add_filter('auto_update_core', '__return_true');
     16add_filter('allow_dev_auto_core_updates', '__return_true');
     17add_filter('allow_minor_auto_core_updates', '__return_true');
     18add_filter('allow_major_auto_core_updates', '__return_true');
     19add_filter('auto_core_update_send_email', '__return_false');
    1720
    18 // Auto update WordPress Plug-ins and disable e-mail notification
    19 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 */
     22add_filter('auto_update_plugin', '__return_true');
     23add_filter('auto_plugin_update_send_email', '__return_false');
    2124
    22 // Auto update WordPress Themes and disable e-mail notification
    23 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 */
     26add_filter('auto_update_theme', '__return_true');
     27add_filter('auto_theme_update_send_email', '__return_false');
    2528
    26 // Auto update WordPress Translations
    27 add_filter( 'auto_update_translation', '__return_true' );
     29/* Auto update WordPress Translations */
     30add_filter('auto_update_translation', '__return_true');
Note: See TracChangeset for help on using the changeset viewer.