Download | Support Forum | Donate 🙂
This plugin will automatically keep your WordPress site up-to-date, downloading updates for WordPress, your plugins and your themes, as soon as they become available.
wp-config Settings
AUTOMATIC_UPDATER_DISABLED
From: 0.9
When this option is defined as true in your wp-config.php file, Automatic Updater will not run any updates.
Actions
auto_updater_before_update / auto_updater_after_update
From: 0.2
The auto_updater_before_update and auto_updater_after_update actions are triggered before and after any update is triggered, respectively. They are passed a single parameter, $type (string), which will be one of “core”, “plugins” or “themes”, depending on what is being updated. These actions are useful for triggering a backup prior to the update, or running sanity checks after the update.
Filters
auto_updater_core_updates
From: 0.2
The auto_updater_core_updates filter passes information about the selected version of WordPress core to upgrade to. Returning NULL will cause the update to be safely aborted.
auto_updater_plugin_updates
From: 0.2
The auto_updater_plugin_updates filter passes an array of the plugins to be updated. This can be used to remove any plugins that you don’t want to be included in the automatic update. Returning NULL will cause the update to be safely aborted.
auto_updater_theme_updates
From: 0.2
The auto_updater_theme_updates filter passes an array of the themes to be updated. This can be used to remove any themes that you don’t want to be included in the automatic update. Returning NULL will cause the update to be safely aborted.
auto_update_get_update_data
From 0.4
The auto_update_get_update_data filter passes an array of available update totals, used for determining if any updates need to be scheduled. If you’re using the auto_updater_plugin_updates or auto_updater_theme_updates filters to block updates of a theme or plugin, you should decrease the totals appropriately, to avoid any unnecessary update being repeatedly scheduled.
auto_updater_notification_email_address
From 0.7
The auto_updater_notification_email_address filter passes the email address that it intends to send an update notification email to. Returning a different address will cause the email to be sent to the new address, instead.
Comments
36 responses to “Automatic Updater for WordPress”
add ftp settings so everyone can use this script ?
Yep, FTP settings are something I intend to add.
[…] are some Actions and Filters provided, check the Documentation for more […]
[…] are some Actions and Filters provided, check the Documentation for more […]
Hi, when does this plugin actually fire? i.e. if the site admin does not log in, will the core/plugins/themes be updated? using wp-cron? or does this require requesting an admin page and it then operates in bg?
Every 12 hours, WordPress checks for updates using wp-cron. Automatic Updater hooks into these update checks and installs any updates found.
If it doesn’t install an update then (for example, Automatic Updater won’t install plugins or themes at the same time as a Core update), it also checks on every page load to see if WordPress has found any updates in the past, and schedules an immediate wp-cron job to install them.
If you have a Beta Release Candidate version of WordPress installed, a daily wp-cron job is scheduled to install the latest build.
Finally, if you’re using SVN updates, Automatic Updater will schedule a wp-cron job once an hour to do the update.
None of these updates require an admin to visit the page, they’re all done asynchronously using wp-cron.
Brilliant that’s what I wanted to hear. The reason is that I want to push automatic updates out to client sites, but only once I have tested and approved them. So I can toggle your plugin on/off via the active_plugins setting and do this early in the morning to minimise impact.
Keep up the great work, appreciated!
I created a script that when called will switch core, plugins, themes to 1, then call wp-cron via http/file_get_contents, then switch core, plugins, themes to 0. I then run this on a WP 3.4 install now that 3.5 is released. It updated the core files, but subsequently, when trying to visit the admin screen, I’m prompted to update the database.
What am I missing here, I know your plugin works as it updated another install to 3.5 no problem. What else do I need to do in this script?
Basically I want to call this script manually, and otherwise have your script disabled. It’s the silent updates I want 🙂
[…] rather the WordPress users amongst you) to one of the lesser known gems for WordPress – the Automatic Updater […]
I am using the “Automatic Updater” plugin on several of my blogs, no doubt it updates the wordpress version, themes and plugins perfectly. But, the main issue is with the Email Notifications. When the updates are automatically done, after that it sends Email Notifications in 100’s figure. Today, I have received around 475 email notifications about the plugin updates.
Could you please fix this issue?
I have already opened the same issue on the Official WordPress Plugin page.
There is a option somewhere on the settings page to deactivate the e-mail notification.
Are you really serious regarding your developed plugins… A lot of people are using your plugins and might face the same issue I am facing. Please respond…
[…] Automatic Updater for WordPress: If you have a WordPress installation then you need to keep up with the latest updates to WordPress. WordPress security has had a spotty record in the past, but it has improved by leaps and bounds. The update system that is currently utilized by WordPress works extremely well, however it is the responsibility of the site owner to keep the site up to date. This process can be beyond some users comfort level, or just not a priority when maintaining their website for fear of breaking something. Automatic Updater takes care of applying updates to WordPress and WordPress plugins (not by default) for you. It will periodically poll the updates for your WordPress version and download and automatically apply the updates for you. The system will even send you an email when this has been completed so that you are aware that an update was applied. […]
I’m having the same problem. I’ve been receiving email notifications on a daily basis and they’re now running in the hundreds, too!
From the plugin description: “You should also be aware that this will only work on WordPress installs that have the appropriate file permissions to update through the web interface”
So exactly what permissions on what folders/files are required in order for this plugin to work? Thanks!
From above: “These actions are useful for triggering a backup prior to the update…”
Can anybody explain exactly how to get this plugin to trigger a backup prior to updating? I am hoping it could be made to work this way with the “Online Backup for WordPress” plugin from Backup Technology. But if that is not possible, then at least triggering any WordPress backup would be great. Thanks for any suggestions!
[…] Automatic Updater | Descargar […]
[…] Automatic Updater for WordPress […]
[…] I created the Automatic Updater plugin, one of the most frequent support requests I get is for commercial plugins and themes. Over the […]
I am baffled as to why the interface doesn’t simply allow one to maintain a list of themes and plugins that will not be automatically updated. It would be simple and it would make life a lot easier than having to write code to accomplish this. I’d think this would be a high priority. If one has modified themes or plugins , obviously one wouldnt want them updated willy-nilly. Then again , if one is modifying themes and plugins, they are probably capable of doing the coding, It just seems like it should be part of the core functionality of this plugin… 2 cents.
What kind of $type (string) would I need to use for the the auto_updater_before_update function to trigger a Back Up Buddy save before updating the pug-ins on a WordPress site and similarly for the auto_updater_after_update function to re-activate the plug-ins – or does it do that automatically?
Brilliant! Many thanks for the plugin, I have been looking for something like this for years!
I do have a couple of questions,; having distributed this by script to all of my hundreds of sites, how can I
a) turn on update everything core, themes, plugins ?
b) activate all of the copies of the automatic updater by script without logging in to each site?
Again, Many thanks
M
How do we fire the cron job “on command”? Also I will second the posts for FTP and options to check off what we DONT want automatically updated. And the ability to force a backup before updates would be cool too!
It should be noted that this plugin is now redundant with the release of WordPress 1.7, which contains automatic updates built in by default.
[…] Pendergast’s fantastic plugin Automatic Updater For WordPress not only allows you to automatically keep your WordPress install up-to-date as soon as updates […]
Добрый день. После последних обновлений перестал работать.
[…] é possível realizar essa tarefa com a utilização de um plugin chamado Automatic Updater cumpre muito bem seu […]
[…] de cometer algum erro, é possível realizar essa tarefa com a utilização de um plugin chamado Automatic Updater cumpre muito bem seu […]
[…] wp-config.phpに適切なコードをかけばできるんだけど(プラグインの作者のサポートサイトにも説明が書いてるんだけど)、でもプラグインで出来たほうが楽出し間違えなさそうだなってことで。 […]
[…] para desativar as atualizações automáticas do WordPress, que é utilizar um plugin chamado Automatic Updater, no entanto não posso (ainda) dar feedback sobre ele pois nunca utilizei, mas pelo feedback que […]
Is it possible to make this plugin work with wpengine hosting? It does not run on their system.
[…] the WordPress plugin repository you will find a plugin named Advanced Automatic Updates. After installing that and going to the settings page for the plugin, you can easily check off what […]
PLEASE Don’t stop developing this plugin!!!! I can’t live without it! I’d be willing to pay $1 per year per site. Or even $2!! Just charge us, make some good money and keep up the great work!!!
[…] mexer no código para adicionar esse linha de código, você pode ainda aproveitar do plugin Automatic Updater que já cumpre esse […]
[…] plugin al que hacemos referencia por el día de hoy tiene el nombre de “Advanced Automatic Updates“, al cual lo puedes encontrar en el repositorio de WordPress o también, haciendo clic en el […]
[…] de cometer algum erro, é possível realizar essa tarefa com a utilização de um plugin chamado Automatic Updater cumpre muito bem seu […]