wpupdate
wpupdate copied to clipboard
WPUpdate is a simple Linux service that automatically checks for a new version of Wordpress each night at 2AM.
WPUpdate is a simple update script that will automatically update your wordpress installation when a new release is out. It does this by doing a compare on Wordpresses update API on their website then doing a comparison under wp-includes/version.php. From there, it will determine if changes are needed and an update. After that it will automatically update wordpress, set the ownership to be restricted to only root:root for security reasons (except uploads). After that, it'll check again at 2AM. WPUpdate also updates third party plugins automatically as well.
Features
-
Automatically check for updates once a day. This is through the /etc/init.d/wpupdate service.
-
If a new release is out, it'll automatically update Wordpress for you.
-
It will sleep until 2AM the next day, then check for an update again.
-
Allows for multiple wordpress installations, simply edit the config file located under /usr/share/wpupdate/config and add /var/www/blog1,/var/www/blog2 for multiple blogs.
-
Updates third party plugins automatically each time it goes through it's daily update.
Bugs and enhancements
For bug reports or enhancements, please open an issue here https://github.com/trustedsec/wpupdate/issues
Project structure
For those technical folks you can find all of the code in the following structure:
src/wpcore.py- main central code reuse for things shared between each modulesetup.py- copies files to/usr/share/wpupdate/then edits/etc/init.d/wpupdateto ensure wpupdate starts per each reboot
Supported platforms
- Linux
HOWTO Install
Simply run python setup.py, hit yes to install. Note that if your installation isn't /var/www/ you will need to edit the source code.
Future Plans
- Completed future plans.