WordPress 3.7 added automatic updates. How does this work, and how can I configure this feature?
Automatic updates are automatic.
The basic, default behavior in WordPress 3.7 is automatic update of core for minor versions (i.e.
No configuration options are exposed in the UI. To change the behavior, you'll need to modify your
Add the following to
Alternatively, add the following filter:
Core Update Control
Themes and Plugins
All-or-Nothing Auto-Update Themes and Plugins:
Theme and Plugin updates are disabled by default. To enable via vilter:
These filters are passed the update object; so it is possible to manipulate that object to target specific Themes or Plugins to be updated, either to whitelist (include) or exclude from automatic updates.
Translation file updates are enabled by default. To disable via filter:
Update Result Emails
The updater sends a result email on success, failure, or critical error. To disable via filter:
This filter can also be used to manipulate update emails according to email
|show 4 more comments|
You can check if your site and server configuration support automatic updates with the Background Update Tester plugin. From Nacin: "This plugin checks your site for compatibility and explains any problems."
To make life much easier, I've provided a very simple user interface to most of this in the WordPress Simple Firewall - http://wordpress.org/plugins/wp-simple-firewall/
Give it a shot. You can turn on plugin, theme, translation updates with a checkbox, and also tweak major/minor core updates, or not at all.
You can then completely turn it all off. There's always more that could be added, but I've kept it simple.
I hope it helps. Cheers, Paul.