How to make WordPress plugins and themes automatically updated?

Follow

Comments

9 comments

  • Avatar
    Ramsey Bashir

    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.

  • Avatar
    Alexandr Tumanov

    @Ramsey, the work on this feature is currently in progress. Hope that it will be released soon.

  • Avatar
    Bob B

    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.

  • Avatar
    Ekaterina Babenko

    @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.

  • Avatar
    Bob B

    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.

  • Avatar
    Anton Maslov

    @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.

     

  • Avatar
    Bob B

    @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.

  • Avatar
    Anton Maslov

    @Bob, why not then do all the preferences via Wordpress Toolkit including update options?

  • Avatar
    Bob B

    @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.

Have more questions? Submit a request