• Resolved nootkan

    (@nootkan)


    I have read through many threads in this forum and there are conflicting tidbits of advice on how to disable auto updates in word press. I manually update all my user accounts on my server so I don’t want auto updates as it always causes issues when theme/plugins mess up their code and I am bombarded with angry people wanting me to re-instate their broken websites. Now I don’t accept new clients who want to fully manage their own backend and my current clients like my services as it frees up time for them to do other things like marketing etc.

    Which is the right way to disable auto updates?

    define( ‘WP_AUTO_UPDATE_CORE’, true ); – which I thought was the way to disable auto updates

    define( ‘WP_AUTO_UPDATE_CORE’, false ); – which some threads state is the correct way to disable updates.

    define( ‘AUTOMATIC_UPDATER_DISABLED’, true ); – which is what I would assume to be correct

    define( ‘AUTOMATIC_UPDATER_DISABLED’, false ); – which I assume means to allow auto updates

    Or is there a better more accurate way to do this?

    Thanks for your patience with me as I know this may sound like a stupid question but a couple of my sites are auto updating even with trying both of the above commands while the rest seem to function as they should by just giving me notification of pending updates.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator threadi

    (@threadi)

    The best source for this is the manual:
    https://developer.wordpress.org/advanced-administration/upgrade/upgrading/

    WP_AUTO_UPDATE_CORE can be defined with one of three values, each producing a different behavior:

    • Value of true – Development, minor, and major updates are all enabled
    • Value of false – Development, minor, and major updates are all disabled
    • Value of 'minor' – Minor updates are enabled, development, and major updates are disabled

    And:

    To completely disable all types of automatic updates, core or otherwise, add the following to your wp-config.php file:

    define( 'AUTOMATIC_UPDATER_DISABLED', true );
    
    Thread Starter nootkan

    (@nootkan)

    Thank you threadi, I had already read that but obviously too lazy to read to the end. Serves me right I guess. In any case its all good now much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Clarification On Auto Updates for WP’ is closed to new replies.