| 1 | <?php |
||
| 2 | /* |
||
| 3 | * Plugin Name: Auto update everything in a WordPress site |
||
| 4 | * Plugin URI: https://github.com/pothi/wp-mu-plugins |
||
| 5 | * Version: 0.2 |
||
| 6 | * Description: Automatically update WP core (including major versions), themes, and plugins |
||
| 7 | * Author: Pothi Kalimuthu |
||
| 8 | * Author URI: https://tinywp.com |
||
| 9 | * License: GPL |
||
| 10 | */ |
||
| 11 | |||
| 12 | add_filter( 'auto_update_theme', '__return_true' ); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 13 | add_filter( 'auto_update_plugin', '__return_true' ); |
||
| 14 | add_filter( 'allow_major_auto_core_updates', '__return_true' ); |
||
| 15 |