Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to make WordPress plugins and themes automatically updated?
Answer
The feature to automatically update WordPress plugins and themes is available starting from WordPress Toolkit 3.1.0 for Plesk Onyx 17.8:
-
In Plesk, go to WordPress Toolkit.
-
In a WordPress instance section, click View next to Updates.
-
Click Update Settings.
-
Select Update plugins automatically and Update themes automatically to Yes. Click OK.
Comments
9 comments
Has there been any progress on this? Would be great to be able to set WordPress auto updates to minor and enable Plugins auto updates through the Plesk control panel.
@Ramsey, the work on this feature is currently in progress. Hope that it will be released soon.
It appears that the Plesk Wordpress Toolkit DISABLES Wordpress's built-in automatic updates by adding the following to wp-config.php:
<?php
define('WP_AUTO_UPDATE_CORE', false);// This setting is required to make sure that WordPress updates can be properly managed in WordPress Toolkit. Remove this line if this WordPress instance is not managed by WordPress Toolkit anymore.
/**
Why is this done and can that change be reverted, in mass, for all affected Wordpress instances?
If a Wordpress installation was configured for automatic updates, that setting should not be overridden by adding "WP_AUTO_UPDATE_CORE', false" to a customer's wp-config.php
Help me to understand why Plesk would make that change to a customer's configuration.
@Bob,
Hi there!
This is expected behavior. Once instance is attached to WordPress Toolkit, extension manages its update settings. In order to avoid any conflicts during updates, WordPress Toolkit disables WordPress native automatic updates tool. If you would like to use WordPress native tools, you can detach instance from WordPress Toolkit in WordPress > Instances > select your instance > Detach.
Thanks for the info. I'd really like to have the viability, that Toolkit provides, into Wordpress instances on my server, including out-of-date core, plugin, and theme, notifications, without disabling Wordpress's native core update functionality. I don't understand why the two cannot coexist.
@Bob, let's say Plesk Toolkit configured to install "minor changes" and Wordpress code "major changes" automatically. As a result setting from Toolkit won't work properly, because core always does a major upgrade.
Also, could you please share the use-case why to keep both? Generally, Wordpress Toolkit do all the same but adds additional features like automatic backups before the upgrade and etc.
@Anton, My customer's preferences should take priority. If they have configured their own Wordpress installations with their preferences, those preferences should be respected (instead of Wordpress Toolkit disabling their configured auto-updates). I, however, still want to see the state of the instances on the server and be able to mitigate issues, on demand, so I don't want to disable Wordpress Toolkit.
@Bob, why not then do all the preferences via Wordpress Toolkit including update options?
@Anton, Because I would be overriding my customer's preferences that they have configured in Wordpress. Many hosting customers don't ever log in to Plesk. Once Wordpress is working, they only log in to Wordpress.
Please sign in to leave a comment.